Merge pull request #31 from flifloo/speak_reaction
Update speak extension
This commit is contained in:
commit
3755a34ee7
1 changed files with 4 additions and 1 deletions
|
@ -2,7 +2,7 @@ from discord.ext import commands
|
||||||
from discord import Member, VoiceState, Embed, Reaction, Guild
|
from discord import Member, VoiceState, Embed, Reaction, Guild
|
||||||
from discord.ext.commands import CommandNotFound
|
from discord.ext.commands import CommandNotFound
|
||||||
|
|
||||||
from bot_bde.logger import logger
|
from administrator.logger import logger
|
||||||
|
|
||||||
|
|
||||||
extension_name = "speak"
|
extension_name = "speak"
|
||||||
|
@ -21,6 +21,9 @@ class Speak(commands.Cog):
|
||||||
self.voice_message = None
|
self.voice_message = None
|
||||||
self.last_message = None
|
self.last_message = None
|
||||||
|
|
||||||
|
def description(self):
|
||||||
|
return "Speech manager"
|
||||||
|
|
||||||
@commands.group("speak", pass_context=True)
|
@commands.group("speak", pass_context=True)
|
||||||
@commands.guild_only()
|
@commands.guild_only()
|
||||||
async def speak(self, ctx: commands.Context):
|
async def speak(self, ctx: commands.Context):
|
||||||
|
|
Reference in a new issue