:spakles: Database and OOP
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
import discord, codecs, string
|
||||
from discord.ext import commands
|
||||
|
||||
from funcs import logThis, stopServer, helloFunc, roll_dice, imageFunc, nameGen, tavernGen, movieFunc, cap, findWikiPage
|
||||
from funcs import logThis, helloFunc, roll_dice, imageFunc, nameGen, tavernGen, movieFunc, cap, findWikiPage
|
||||
|
||||
class MiscCog(commands.Cog):
|
||||
|
||||
@@ -40,7 +40,7 @@ class MiscCog(commands.Cog):
|
||||
if "#"+str(ctx.message.author.id) in ["#266269899859427329", "#380732645602230272"]:
|
||||
await ctx.send("Pulling git repo and restarting...")
|
||||
|
||||
stopServer()
|
||||
self.client.funcs.stopServer()
|
||||
|
||||
await self.client.logout()
|
||||
else:
|
||||
|
||||
Reference in New Issue
Block a user