More comments, added missing help info
This commit is contained in:
parent
88ac9f2c61
commit
038f15955c
@ -6,7 +6,7 @@ class Fun(commands.Cog):
|
||||
def __init__(self, bot):
|
||||
self.client = bot
|
||||
|
||||
@commands.command()
|
||||
@commands.command(description="Boop the user of your desire", usage={"@user"})
|
||||
async def boop(self, ctx: nextcord.Message, user: nextcord.User):
|
||||
await ctx.reply(f"{user.mention} shall get booped!", files=[nextcord.File("./images/boop.webp")])
|
||||
|
||||
|
5
main.py
5
main.py
@ -2,14 +2,15 @@ import nextcord
|
||||
from nextcord.ext import commands
|
||||
import os
|
||||
|
||||
#Defining the basic stuff here
|
||||
SquogServer = 1356433463854497944
|
||||
SquogToken = "MTM1NjU2MTY2MjQyOTM2ODQxMQ.G8aypc.CZBX-x6e4Oad3U5zO0nUgc02d9FDIDSNFybysI"
|
||||
|
||||
client = commands.Bot(command_prefix="!", intents=nextcord.Intents.all())
|
||||
#Removing the default help command because no
|
||||
client.remove_command("help")
|
||||
|
||||
SquogMod = None
|
||||
|
||||
#Loading Cogs
|
||||
for filename in os.listdir('./commands'):
|
||||
if filename.endswith('.py'):
|
||||
client.load_extension(f'commands.{filename[:-3]}')
|
||||
|
Loading…
x
Reference in New Issue
Block a user