adding link of discord
This commit is contained in:
parent
d9ae68b21b
commit
52612824e6
1 changed files with 5 additions and 3 deletions
|
@ -1,12 +1,14 @@
|
|||
from twitchio.ext import commands
|
||||
from utils.utils import load
|
||||
|
||||
def prepare(bot: commands.Bot):
|
||||
bot.add_cog(Utils(bot))
|
||||
|
||||
class Utils(commands.Cog):
|
||||
def __init__(self, bot: commands.Bot):
|
||||
self.bot = bot
|
||||
def __init__(self, client: commands.Bot):
|
||||
self.client = client
|
||||
self.keys = load(["DISCORD"])
|
||||
|
||||
@commands.command()
|
||||
async def discord(self, ctx: commands.Context):
|
||||
await ctx.send(f"Rejoins mon Discord !")
|
||||
await ctx.send(f"Rejoins mon Discord {self.keys['DISCORD']} !")
|
||||
|
|
Loading…
Reference in a new issue