Added confirmation for the database reload

pull/8/head
sgoudham 4 years ago
parent eb75dbeefc
commit 7520602a92

@ -169,6 +169,9 @@ async def reload_db(ctx):
await conn.commit() await conn.commit()
print(cur.rowcount, f"Record(s) inserted successfully into Members from {ctx.guild.name}") print(cur.rowcount, f"Record(s) inserted successfully into Members from {ctx.guild.name}")
# Sending confirmation message
await ctx.send("**Database Reloaded Successfully for Guild {}**".format(ctx.guild.name))
@client.command(name="prefix", aliases=["Prefix"]) @client.command(name="prefix", aliases=["Prefix"])
@guild_only() @guild_only()

Loading…
Cancel
Save