-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathmisc.py
More file actions
27 lines (23 loc) · 1.17 KB
/
misc.py
File metadata and controls
27 lines (23 loc) · 1.17 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
import discord
from discord.ext import commands
class Misc():
def __init__(self, bot):
self.bot = bot
@commands.command(pass_context=True)
async def info(self, ctx):
emb = (discord.Embed(description='**Help menu**\n'
':one: **osu! emoji/react**\n\t\t`[osu]`\n'
':two: **Kenny\'s Social Security Number**\n\t\t`[$ssn]`\n'
':three: **Roll**\n\t\t`[$roll, $roll number, $roll rick]`\n'
':four: **Weebs**\n\t\t`[$amiweeb]`\n'
':five: **Chromosomes**\n\t\t`[$chromosome]`\n'
':six: **Most recent dota match info**\n\t\t`[$last]`\n'
':seven: **Weather info**\n\t\t`[$weather city_name]`\n'
, color=0xAFAFAF))
emb.set_author(name='Help', icon_url='http://www.atlantatrumpetensemble.com/images/junwoopark.jpg')
await self.bot.say(embed=emb)
@commands.command(pass_context=True)
async def ssn(self, ctx):
await self.bot.say('<@%s> -redacted-' % (92360169446473728))
def setup(bot):
bot.add_cog(Misc(bot))