Changed presence update functionability to a cog. Randomly chooses a string and updates the presence every 2 minutes.

This commit is contained in:
alwayscompiling
2022-07-29 15:08:42 -04:00
parent 3eed30567d
commit 62e89960f7
3 changed files with 54 additions and 10 deletions
-6
View File
@@ -45,15 +45,9 @@ def main():
# To enable the members priveleged intent:
# intents.members = True
# Set custom status to "Listening to ?help"
activity = nextcord.Activity(
type=nextcord.ActivityType.listening, name=f"{config.BOT_PREFIX}help"
)
bot = commands.Bot(
commands.when_mentioned_or(config.BOT_PREFIX),
intents=intents,
activity=activity,
)
# Get the modules of all cogs whose directory structure is ./cogs/<module_name>