Updated logging
This commit is contained in:
1 parent
a190e523d4
commit
f0fc5b643a
3 files changed
+25
-19
No files matched your search
@@ -1,9 +1,11 @@
|
||||
# Posts a dank pepe in the chat
|
||||
from discord.ext import commands
|
||||
import discord
|
||||
import logging
|
||||
import random
|
||||
import os
|
||||
|
||||
logger=logging.getLogger("plugin.pepe")
|
||||
plugin_folder=os.path.dirname(os.path.realpath(__file__))
|
||||
pepe_filename=os.path.join(plugin_folder, 'pepes.txt')
|
||||
|
||||
@@ -16,5 +18,5 @@ async def send_pepe(ctx):
|
||||
await ctx.send(f'{chosen_pepe}')
|
||||
|
||||
async def setup(bot):
|
||||
print("Rare Pepes initialized")
|
||||
logger.info("Rare Pepes initialized")
|
||||
bot.add_command(send_pepe)
|
||||
Reference in new issue
Block a user