1
0

style(bot): status message

This commit is contained in:
オスカー、 2023-03-22 15:24:53 +00:00 committed by GitHub
parent 212e337721
commit c05c45b57e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

2
bot.py
View File

@ -9,6 +9,8 @@ from linked_roles import RoleMetadataType, LinkedRolesOAuth2, RoleMetadataRecord
load_dotenv() load_dotenv()
bot = commands.InteractionBot( bot = commands.InteractionBot(
status=disnake.Status.dnd,
activity=disnake.Activity(type=disnake.ActivityType.watching, name="Achievements"),
intents=disnake.Intents.default() intents=disnake.Intents.default()
) )