You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Apr 24, 2025. It is now read-only.
char_limit=data["system_content"][0]["character_limit_prompt"] # Makes sure that the gpt output wont exceed the discord embed character limit of 4096 characters
14
+
char_limit=data["system_content"][0][
15
+
"character_limit_prompt"] # Makes sure that the gpt output won't exceed the discord embed character limit of 4096 characters
15
16
16
17
try:
17
18
token=os.getenv("BOT_TOKEN") # returns a str
@@ -59,7 +60,7 @@ async def setup_hook(self):
59
60
self.tree.copy_global_to(guild=discord_server_2)
60
61
awaitself.tree.sync(guild=discord_server_2)
61
62
# You can replace these 4 lines with "await self.tree.sync()" if you want the bots commands to...
62
-
# be added to all servers its in (wont take long if your bot isnt in many servers otherwise it could take up to an hour)
63
+
# be added to all servers its in (won't take long if your bot isn't in many servers otherwise it could take up to an hour)
0 commit comments