mirror of
https://github.com/Fluffy-Bean/Lynxie.git
synced 2025-05-28 22:33:14 +00:00
Add more commands
This commit is contained in:
parent
bafe17e0d4
commit
0cddbb75e2
6 changed files with 279 additions and 5 deletions
|
@ -1,7 +1,13 @@
|
|||
from .help import Help
|
||||
from .ping import Ping
|
||||
from .hello import Hello
|
||||
from .music import Music
|
||||
from .e621 import E621
|
||||
|
||||
__all__ = [
|
||||
"Help",
|
||||
"Ping",
|
||||
"Hello",
|
||||
"Music",
|
||||
"E621",
|
||||
]
|
||||
|
|
|
@ -7,4 +7,4 @@ class Hello(commands.Cog):
|
|||
|
||||
@commands.command()
|
||||
async def hello(self, ctx):
|
||||
await ctx.send(f"Hello {ctx.author.mention}!")
|
||||
await ctx.send(f"Hello from England, {ctx.author.mention}!")
|
||||
|
|
|
@ -16,7 +16,6 @@ ytdl = youtube_dl.YoutubeDL({
|
|||
"quiet": True,
|
||||
"no_warnings": True,
|
||||
"default_search": "auto",
|
||||
"source_address": "0.0.0.0",
|
||||
})
|
||||
|
||||
|
||||
|
@ -49,7 +48,7 @@ class Music(commands.Cog):
|
|||
self.bot = bot
|
||||
|
||||
@commands.command()
|
||||
async def move(self, ctx, *, channel: discord.VoiceChannel):
|
||||
async def join(self, ctx, *, channel: discord.VoiceChannel):
|
||||
"""Joins a voice channel"""
|
||||
|
||||
if ctx.voice_client is not None:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue