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$">
|
<content url="file://$MODULE_DIR$">
|
||||||
<excludeFolder url="file://$MODULE_DIR$/.venv" />
|
<excludeFolder url="file://$MODULE_DIR$/.venv" />
|
||||||
</content>
|
</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" />
|
<orderEntry type="sourceFolder" forTests="false" />
|
||||||
</component>
|
</component>
|
||||||
</module>
|
</module>
|
1
.idea/misc.xml
generated
1
.idea/misc.xml
generated
@ -3,4 +3,5 @@
|
|||||||
<component name="Black">
|
<component name="Black">
|
||||||
<option name="sdkName" value="Python 3.13 (SquogBot)" />
|
<option name="sdkName" value="Python 3.13 (SquogBot)" />
|
||||||
</component>
|
</component>
|
||||||
|
<component name="ProjectRootManager" version="2" project-jdk-name="Python 3.13 virtualenv at ~/PycharmProjects/SquogBot1/.venv" project-jdk-type="Python SDK" />
|
||||||
</project>
|
</project>
|
@ -5,6 +5,9 @@ class Fun(commands.Cog):
|
|||||||
def __init__(self, bot):
|
def __init__(self, bot):
|
||||||
self.client = 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
|
# Add something here later cuz im lazy raaahhh
|
||||||
|
|
||||||
def setup(bot):
|
def setup(bot):
|
||||||
|
9
main.py
9
main.py
@ -18,12 +18,5 @@ for filename in os.listdir("./events"):
|
|||||||
if filename.endswith('.py'):
|
if filename.endswith('.py'):
|
||||||
client.load_extension(f'events.{filename[:-3]}')
|
client.load_extension(f'events.{filename[:-3]}')
|
||||||
|
|
||||||
# ______ _ _
|
# Starting bot
|
||||||
# | ____| | | (_)
|
|
||||||
# | |__ __ _____ ___ _ _| |_ _ _ __ __ _
|
|
||||||
# | __| \ \/ / _ \/ __| | | | __| | '_ \ / _` |
|
|
||||||
# | |____ > | __| (__| |_| | |_| | | | | (_| |
|
|
||||||
# |______/_/\_\___|\___|\__,_|\__|_|_| |_|\__, |
|
|
||||||
# __/ |
|
|
||||||
# |___/
|
|
||||||
client.run(SquogToken)
|
client.run(SquogToken)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user