Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 11 additions & 1 deletion protobot.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
#####################################
#
COMMAND_PREFIX = '!' #
VERSION = "v0.3.2-alpha" #
VERSION = "v0.3.3-alpha" #
ACTIVITY = discord.Game("!help") #
LOG_LEVEL = logging.INFO #
#
Expand Down Expand Up @@ -213,6 +213,16 @@ async def check_user_score(ctx):
await ctx.message.channel.send(f"Score for <@{uuid}>: {score}")


@bot.command(name="correct", help="Sends correct.png")
async def correct(ctx):
await ctx.message.channel.send(file=discord.File('resources/correct.png'))


@bot.command(name="what", help="Sends what.png")
async def what(ctx):
await ctx.message.channel.send(file=discord.File('resources/what.png'))


async def run_once_every_day():
"""
Runs a block of code every day sometime between 00:00 and 01:00 local time.
Expand Down
Binary file added resources/correct.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added resources/what.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.