forked from viveksantayana/geas-bot
Deleted Alan easter egg.
This commit is contained in:
parent
925acd46e4
commit
c123186984
@ -449,14 +449,6 @@ async def migrateData(ctx):
|
|||||||
raise commands.CommandError('Error: Database connection failed. Could not migrate games to database.')
|
raise commands.CommandError('Error: Database connection failed. Could not migrate games to database.')
|
||||||
await ctx.channel.send(f'Finished migrating {gNum} games onto the database.')
|
await ctx.channel.send(f'Finished migrating {gNum} games onto the database.')
|
||||||
|
|
||||||
# Easter egg for Alan
|
|
||||||
@client.command()
|
|
||||||
async def alan(ctx):
|
|
||||||
if ctx.author.id != 355857207205691392:
|
|
||||||
alan = await ctx.guild.fetch_member(355857207205691392)
|
|
||||||
raise commands.CommandError(f'Error: This is a powerful, super secret master command that only {alan.mention} can use. Do **NOT** invoke this if you are not Alan. ~~It is a command that can do great evil in the wrong hands.~~')
|
|
||||||
await ctx.send(f'Hi {alan.mention}. In order to execute this script, you must click the following link:\n<http://vsnt.uk/alancommand>\nUse it wisely.')
|
|
||||||
|
|
||||||
# Import Cogs
|
# Import Cogs
|
||||||
for cogfile in os.listdir('./cogs'):
|
for cogfile in os.listdir('./cogs'):
|
||||||
if cogfile.endswith('.py'):
|
if cogfile.endswith('.py'):
|
||||||
|
Loading…
Reference in New Issue
Block a user