Skip to content

Commit

Permalink
Fix context overload
Browse files Browse the repository at this point in the history
  • Loading branch information
mishl-dev committed Jun 18, 2023
1 parent c742696 commit b60f28a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ MAX_SEARCH_RESULTS: 4 # Set the maximum search results for internet access DONT
ALLOW_DM: true # Set to true to allow direct messages
SMART_MENTION: true # Set to true to enable smart mention feature

MAX_HISTORY: 20 # Set the maximum message history
MAX_HISTORY: 8 # Set the maximum message history

PRESENCES_CHANGE_DELAY: 10 # Please note that the Presences Change Delay is measured in seconds. It is advisable not to set it too low, as doing so may result in your bot being rate-limited by Discord
AI_NSFW_CONTENT_FILTER: true # Enable NSFW AI detector to detect NSFW prompt on Imagine Command
Expand Down
4 changes: 2 additions & 2 deletions main.py
Original file line number Diff line number Diff line change
Expand Up @@ -510,5 +510,5 @@ async def on_command_error(ctx, error):
if update_on_start_up:
from updater import update_repository
update_repository()
bot.run(TOKEN)
if __name__ == "__main__":
bot.run(TOKEN)

0 comments on commit b60f28a

Please sign in to comment.