Boop command
This commit is contained in:
parent
00e8aa65ff
commit
0ee45f1cbc
2
.idea/SquogBot.iml
generated
2
.idea/SquogBot.iml
generated
@ -4,7 +4,7 @@
|
||||
<content url="file://$MODULE_DIR$">
|
||||
<excludeFolder url="file://$MODULE_DIR$/.venv" />
|
||||
</content>
|
||||
<orderEntry type="jdk" jdkName="Python 3.13 (SquogBot)" jdkType="Python SDK" />
|
||||
<orderEntry type="jdk" jdkName="Python 3.13 virtualenv at ~/PycharmProjects/SquogBot1/.venv" jdkType="Python SDK" />
|
||||
<orderEntry type="sourceFolder" forTests="false" />
|
||||
</component>
|
||||
</module>
|
1
.idea/misc.xml
generated
1
.idea/misc.xml
generated
@ -3,4 +3,5 @@
|
||||
<component name="Black">
|
||||
<option name="sdkName" value="Python 3.13 (SquogBot)" />
|
||||
</component>
|
||||
<component name="ProjectRootManager" version="2" project-jdk-name="Python 3.13 virtualenv at ~/PycharmProjects/SquogBot1/.venv" project-jdk-type="Python SDK" />
|
||||
</project>
|
@ -5,6 +5,9 @@ class Fun(commands.Cog):
|
||||
def __init__(self, bot):
|
||||
self.client = bot
|
||||
|
||||
@commands.command()
|
||||
async def boop(self, ctx: nextcord.Message, user: nextcord.User):
|
||||
ctx.reply(f"{user.mention} shall get booped!", files=[nextcord.File("../images/boop.webp")])
|
||||
# Add something here later cuz im lazy raaahhh
|
||||
|
||||
def setup(bot):
|
||||
|
9
main.py
9
main.py
@ -18,12 +18,5 @@ for filename in os.listdir("./events"):
|
||||
if filename.endswith('.py'):
|
||||
client.load_extension(f'events.{filename[:-3]}')
|
||||
|
||||
# ______ _ _
|
||||
# | ____| | | (_)
|
||||
# | |__ __ _____ ___ _ _| |_ _ _ __ __ _
|
||||
# | __| \ \/ / _ \/ __| | | | __| | '_ \ / _` |
|
||||
# | |____ > | __| (__| |_| | |_| | | | | (_| |
|
||||
# |______/_/\_\___|\___|\__,_|\__|_|_| |_|\__, |
|
||||
# __/ |
|
||||
# |___/
|
||||
# Starting bot
|
||||
client.run(SquogToken)
|
||||
|
Loading…
x
Reference in New Issue
Block a user