diff options
author | redcreeper14385 <mounderfod@gmail.com> | 2021-08-31 17:56:00 +0100 |
---|---|---|
committer | redcreeper14385 <mounderfod@gmail.com> | 2021-08-31 17:56:00 +0100 |
commit | 45ddeff3ec499e79d82ee265d729c8e0c453e020 (patch) | |
tree | c643caf0c078ba505c3e6bcfd157a44b265f536d /bot.py | |
parent | 75045f045f1fc524b6a0f5e7b40a87dffc377cdf (diff) | |
download | tiny-potato-bot-45ddeff3ec499e79d82ee265d729c8e0c453e020.tar.gz |
Port to nextcord :D
Diffstat (limited to 'bot.py')
-rw-r--r-- | bot.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/bot.py b/bot.py index 8db368b..c6b9ba7 100644 --- a/bot.py +++ b/bot.py @@ -1,11 +1,11 @@ -import discord -from discord.ext import commands +import nextcord +from nextcord.ext import commands import os from dotenv import load_dotenv import bot_utils load_dotenv() -bot = commands.Bot(command_prefix="t!", activity=discord.Activity(name="for commands", type=discord.ActivityType.watching)) +bot = commands.Bot(command_prefix="t!", activity=nextcord.Activity(name="for commands", type=nextcord.ActivityType.watching)) bot.help_command = bot_utils.MyHelpCommand(command_attrs={'hidden':True}) @bot.event |