Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- async def cmd_quote(ctx, args):
- if ctx.mentions:
- quote = db.get('user', ctx.mentions[0].id)['quote']
- else:
- quote = db.get('user', ctx.author.id)['quote']
- if quote:
- return await ctx.channel.send('```{}```'.format(quote))
- return await ctx.channel.send('```No quote has been set```')
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement