Browse Source

added roxbotfacts aliases.

tags/v2.0.0
Roxie Gibson 6 years ago
parent
commit
4944ccc2d1
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      roxbot/cogs/fun.py

+ 1
- 1
roxbot/cogs/fun.py View File

Time="{:%a %Y/%m/%d %H:%M:%S} UTC".format(ctx.message.created_at) Time="{:%a %Y/%m/%d %H:%M:%S} UTC".format(ctx.message.created_at)
) )


@bot.command()
@bot.command(aliases=["rf", "roxfacts", "roxfact"])
async def roxbotfact(self, ctx): async def roxbotfact(self, ctx):
fact_index = random.randrange(0, len(roxbot.roxbotfacts.facts)) fact_index = random.randrange(0, len(roxbot.roxbotfacts.facts))
fact = roxbot.roxbotfacts.facts[fact_index] fact = roxbot.roxbotfacts.facts[fact_index]

Loading…
Cancel
Save