Maintinance 🔧
This commit is contained in:
@ -1,7 +1,7 @@
|
||||
import discord, codecs, string, wolframalpha, requests, os
|
||||
from discord.ext import commands
|
||||
|
||||
from funcs import logThis, helloFunc, roll_dice, imageFunc, nameGen, tavernGen, movieFunc, cap, findWikiPage
|
||||
from funcs import logThis, helloFunc, roll_dice, imageFunc, movieFunc, cap, findWikiPage
|
||||
from PIL import Image, ImageDraw, ImageFont
|
||||
|
||||
class MiscCog(commands.Cog):
|
||||
@ -10,6 +10,7 @@ class MiscCog(commands.Cog):
|
||||
"""Runs misc commands."""
|
||||
self.client = client
|
||||
self.client.remove_command("help")
|
||||
self.generator = client.generator
|
||||
|
||||
@commands.command(name = "help")
|
||||
async def helpCommand(self, ctx, *, content = ""):
|
||||
@ -88,12 +89,12 @@ class MiscCog(commands.Cog):
|
||||
# Generates a random name
|
||||
@commands.command()
|
||||
async def name(self, ctx):
|
||||
await ctx.send(nameGen())
|
||||
await ctx.send(self.generator.nameGen())
|
||||
|
||||
# Generates a random tavern name
|
||||
@commands.command()
|
||||
async def tavern(self, ctx):
|
||||
await ctx.send(tavernGen())
|
||||
await ctx.send(self.generator.tavernGen())
|
||||
|
||||
# Sets the game Gwendolyn's playing
|
||||
@commands.command()
|
||||
|
Reference in New Issue
Block a user