remove the i have reconnected message for now

This commit is contained in:
Luke Robles 2022-10-11 10:13:17 -07:00
parent 5d52aa64ef
commit cd68e68a96

View File

@ -20,12 +20,6 @@ for cogfile in cogfiles:
bot.load_extension(cogfile)
@bot.slash_command(guild_ids=None, name="hello", description="Prints hello")
async def hello(ctx, name: str = None):
name = name or ctx.author.name
await ctx.respond(f"Hello {name}!")
@bot.event
async def on_ready():
print(f"{bot.user.name} has connected to Discord!")
@ -36,8 +30,8 @@ async def on_ready():
type=discord.ActivityType.listening, name="type !help"
),
)
if os.getenv("DRAGON_ENV") == "prod":
await bot.get_channel(152921472304676865).send("I have reconnected")
# if os.getenv("DRAGON_ENV") == "prod":
# await bot.get_channel(152921472304676865).send("I have reconnected")
@bot.listen("on_message")