remove the i have reconnected message for now
This commit is contained in:
parent
001256e372
commit
373beb45db
10
app/bot.py
10
app/bot.py
@ -20,12 +20,6 @@ for cogfile in cogfiles:
|
|||||||
bot.load_extension(cogfile)
|
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
|
@bot.event
|
||||||
async def on_ready():
|
async def on_ready():
|
||||||
print(f"{bot.user.name} has connected to Discord!")
|
print(f"{bot.user.name} has connected to Discord!")
|
||||||
@ -36,8 +30,8 @@ async def on_ready():
|
|||||||
type=discord.ActivityType.listening, name="type !help"
|
type=discord.ActivityType.listening, name="type !help"
|
||||||
),
|
),
|
||||||
)
|
)
|
||||||
if os.getenv("DRAGON_ENV") == "prod":
|
# if os.getenv("DRAGON_ENV") == "prod":
|
||||||
await bot.get_channel(152921472304676865).send("I have reconnected")
|
# await bot.get_channel(152921472304676865).send("I have reconnected")
|
||||||
|
|
||||||
|
|
||||||
@bot.listen("on_message")
|
@bot.listen("on_message")
|
||||||
|
Loading…
x
Reference in New Issue
Block a user