Skip to content

Commit 21fa7c4

Browse files
committed
add !what and !correct
1 parent 5fd594f commit 21fa7c4

File tree

3 files changed

+11
-1
lines changed

3 files changed

+11
-1
lines changed

protobot.py

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
#####################################
2525
#
2626
COMMAND_PREFIX = '!' #
27-
VERSION = "v0.3.2-alpha" #
27+
VERSION = "v0.3.3-alpha" #
2828
ACTIVITY = discord.Game("!help") #
2929
LOG_LEVEL = logging.INFO #
3030
#
@@ -213,6 +213,16 @@ async def check_user_score(ctx):
213213
await ctx.message.channel.send(f"Score for <@{uuid}>: {score}")
214214

215215

216+
@bot.command(name="correct", help="Sends correct.png")
217+
async def correct(ctx):
218+
await ctx.message.channel.send(file=discord.File('resources/correct.png'))
219+
220+
221+
@bot.command(name="what", help="Sends what.png")
222+
async def what(ctx):
223+
await ctx.message.channel.send(file=discord.File('resources/what.png'))
224+
225+
216226
async def run_once_every_day():
217227
"""
218228
Runs a block of code every day sometime between 00:00 and 01:00 local time.

resources/correct.png

7.33 KB
Loading

resources/what.png

6.69 KB
Loading

0 commit comments

Comments
 (0)