Skip to content
Draft
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
Binary file not shown.
31 changes: 31 additions & 0 deletions reaper/cogs/funny_replies.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
import logging

import coloredlogs

logger = logging.getLogger(__name__)
coloredlogs.install(
level="DEBUG", logger=logger, fmt="%(asctime)s - %(levelname)s - %(message)s"
)

import discord
import util.json_handler
from discord.ext import commands

allowed_users = util.json_handler.load_allowed_users()


class FunnyReplies(commands.Cog):
def __init__(self, bot: commands.Bot) -> None:
self.bot = bot

@commands.hybrid_command(
description="Generates a search query link for NorthstarDocs based on search term"
)
async def ticks(self, ctx):
await ctx.send(
file=discord.File("assets/diag_reaper_fragdrone_launch_alert_2ch_v2_01.wav")
)


async def setup(bot: commands.Bot) -> None:
await bot.add_cog(FunnyReplies(bot))
1 change: 1 addition & 0 deletions reaper/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@
"cogs.auto_react_reports",
"cogs.auto_response",
"cogs.doc_search",
"cogs.funny_replies",
"cogs.global_replies",
"cogs.help_command",
"cogs.image_response",
Expand Down