PycordViews 1.2.1__tar.gz → 1.2.2__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (27) hide show
  1. {pycordviews-1.2.1 → pycordviews-1.2.2}/PKG-INFO +1 -1
  2. {pycordviews-1.2.1 → pycordviews-1.2.2}/PycordViews.egg-info/PKG-INFO +1 -1
  3. {pycordviews-1.2.1 → pycordviews-1.2.2}/pycordViews/multibot/process.py +8 -8
  4. {pycordviews-1.2.1 → pycordviews-1.2.2}/setup.py +1 -1
  5. {pycordviews-1.2.1 → pycordviews-1.2.2}/LICENSE +0 -0
  6. {pycordviews-1.2.1 → pycordviews-1.2.2}/PycordViews.egg-info/SOURCES.txt +0 -0
  7. {pycordviews-1.2.1 → pycordviews-1.2.2}/PycordViews.egg-info/dependency_links.txt +0 -0
  8. {pycordviews-1.2.1 → pycordviews-1.2.2}/PycordViews.egg-info/requires.txt +0 -0
  9. {pycordviews-1.2.1 → pycordviews-1.2.2}/PycordViews.egg-info/top_level.txt +0 -0
  10. {pycordviews-1.2.1 → pycordviews-1.2.2}/README.md +0 -0
  11. {pycordviews-1.2.1 → pycordviews-1.2.2}/pycordViews/__init__.py +0 -0
  12. {pycordviews-1.2.1 → pycordviews-1.2.2}/pycordViews/menu/__init__.py +0 -0
  13. {pycordviews-1.2.1 → pycordviews-1.2.2}/pycordViews/menu/errors.py +0 -0
  14. {pycordviews-1.2.1 → pycordviews-1.2.2}/pycordViews/menu/menu.py +0 -0
  15. {pycordviews-1.2.1 → pycordviews-1.2.2}/pycordViews/menu/selectMenu.py +0 -0
  16. {pycordviews-1.2.1 → pycordviews-1.2.2}/pycordViews/multibot/__init__.py +0 -0
  17. {pycordviews-1.2.1 → pycordviews-1.2.2}/pycordViews/multibot/bot.py +0 -0
  18. {pycordviews-1.2.1 → pycordviews-1.2.2}/pycordViews/multibot/errors.py +0 -0
  19. {pycordviews-1.2.1 → pycordviews-1.2.2}/pycordViews/multibot/multibot.py +0 -0
  20. {pycordviews-1.2.1 → pycordviews-1.2.2}/pycordViews/pagination/__init__.py +0 -0
  21. {pycordviews-1.2.1 → pycordviews-1.2.2}/pycordViews/pagination/errors.py +0 -0
  22. {pycordviews-1.2.1 → pycordviews-1.2.2}/pycordViews/pagination/pagination_view.py +0 -0
  23. {pycordviews-1.2.1 → pycordviews-1.2.2}/pycordViews/views/__init__.py +0 -0
  24. {pycordviews-1.2.1 → pycordviews-1.2.2}/pycordViews/views/easy_modified_view.py +0 -0
  25. {pycordviews-1.2.1 → pycordviews-1.2.2}/pycordViews/views/errors.py +0 -0
  26. {pycordviews-1.2.1 → pycordviews-1.2.2}/pyproject.toml +0 -0
  27. {pycordviews-1.2.1 → pycordviews-1.2.2}/setup.cfg +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: PycordViews
3
- Version: 1.2.1
3
+ Version: 1.2.2
4
4
  Summary: Views and multibot for py-cord library
5
5
  Home-page: https://github.com/BOXERRMD/Py-cord_Views
6
6
  Author: Chronos (alias BOXERRMD)
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: PycordViews
3
- Version: 1.2.1
3
+ Version: 1.2.2
4
4
  Summary: Views and multibot for py-cord library
5
5
  Home-page: https://github.com/BOXERRMD/Py-cord_Views
6
6
  Author: Chronos (alias BOXERRMD)
@@ -100,7 +100,7 @@ class ManageProcess:
100
100
  self.__bots[bot_name] = DiscordBot(token, intents)
101
101
  return f'Bot {bot_name} added'
102
102
 
103
- def add_pyFile_commands(self, bot_bot_name: str, file: str, setup_function: str, reload_command: bool):
103
+ def add_pyFile_commands(self, bot_name: str, file: str, setup_function: str, reload_command: bool):
104
104
  """
105
105
  Ajoute et charge un fichier de commande bot et ses dépendances.
106
106
  Les fichiers doivent avoir une fonction appelée « setup » ou un équivalent passé en paramètre.
@@ -108,26 +108,26 @@ class ManageProcess:
108
108
  def setup(bot: Bot) :
109
109
  ...
110
110
 
111
- :param bot_bot_name : Le nom du bot à ajouter au fichier de commandes
111
+ :param bot_name : Le nom du bot à ajouter au fichier de commandes
112
112
  :param file: Chemin relatif ou absolue du fichier de commande
113
113
  :param setup_function : Nom de la fonction appelée par le processus pour donner l'instance de Bot.
114
114
  :param reload_command : Recharge toutes les commandes dans le fichier et les dépendances. Défaut : True
115
115
  """
116
- self.if_bot_no_exist(bot_bot_name)
116
+ self.if_bot_no_exist(bot_name)
117
117
  setup_function = Str_(setup_function).str_
118
118
  file = Str_(file).str_
119
- self.__bots[bot_bot_name].add_pyFile_commands(file=file, setup_function=setup_function, reload_command=reload_command)
119
+ self.__bots[bot_name].add_pyFile_commands(file=file, setup_function=setup_function, reload_command=reload_command)
120
120
 
121
- def modify_pyFile_commands(self, bot_bot_name: str, file: str, setup_function: str):
121
+ def modify_pyFile_commands(self, bot_name: str, file: str, setup_function: str):
122
122
  """
123
123
  Modifie un fichier de comandes et le recharge.
124
124
  Ne recharge que le fichier et non les commandes du bot !
125
- :param bot_bot_name: Le nom du bot
125
+ :param bot_name: Le nom du bot
126
126
  :param file: Le chemin d'accès relatif ou absolue du fichier
127
127
  """
128
- self.if_bot_no_exist(bot_bot_name)
128
+ self.if_bot_no_exist(bot_name)
129
129
  file = Str_(file).str_
130
- self.__bots[bot_bot_name].modify_pyFile_commands(file=file, setup_function=setup_function)
130
+ self.__bots[bot_name].modify_pyFile_commands(file=file, setup_function=setup_function)
131
131
 
132
132
 
133
133
  def reload_all_commands(self, bot_name: str):
@@ -5,7 +5,7 @@ with open("README.md", encoding='utf-8') as file:
5
5
 
6
6
  setup(
7
7
  name="PycordViews",
8
- version="1.2.1",
8
+ version="1.2.2",
9
9
  url="https://github.com/BOXERRMD/Py-cord_Views",
10
10
  author="Chronos (alias BOXERRMD)",
11
11
  author_email="vagabonwalybi@gmail.com",
File without changes
File without changes
File without changes
File without changes