diff --git a/LICENSE b/LICENSE index e62ec04..b31b9f4 100644 --- a/LICENSE +++ b/LICENSE @@ -1,4 +1,6 @@ -GNU GENERAL PUBLIC LICENSE +When redistributing this code, add your copyrihght notice below all the other ones +Copyright (c) 2022 Jérémie Cotti + GNU GENERAL PUBLIC LICENSE Version 3, 29 June 2007 Copyright (C) 2007 Free Software Foundation, Inc. diff --git a/code/cogs/chat.py b/code/cogs/chat.py index eb4b255..36dcbbe 100644 --- a/code/cogs/chat.py +++ b/code/cogs/chat.py @@ -15,6 +15,7 @@ class Chat (discord.Cog) : loop = asyncio.get_event_loop() thread = threading.Thread(target=asyncio.run_coroutine_threadsafe, args=(on_message_process(message, self), loop)) thread.start() + @discord.slash_command(name="say", description="Say a message") async def say(self, ctx: discord.ApplicationContext, message: str): debug(f"The user {ctx.author.display_name} ran the say command command in the channel {ctx.channel} of the guild {ctx.guild}, named {ctx.guild.name}")