Commenting out other commands until i know
This commit is contained in:
parent
7c8b99578b
commit
ce321528cd
|
@ -190,41 +190,41 @@ class Search(commands.Cog, name="Basic"):
|
||||||
|
|
||||||
await self._basic_search(ctx, query)
|
await self._basic_search(ctx, query)
|
||||||
|
|
||||||
@commands.command(aliases=['video'])
|
# @commands.command(aliases=['video'])
|
||||||
async def videos(self, ctx, *, query: str):
|
# async def videos(self, ctx, *, query: str):
|
||||||
"""Search online for videos."""
|
# """Search online for videos."""
|
||||||
|
|
||||||
await self._basic_search(ctx, query, 'videos')
|
# await self._basic_search(ctx, query, 'videos')
|
||||||
|
|
||||||
@commands.command()
|
# @commands.command()
|
||||||
async def music(self, ctx, *, query: str):
|
# async def music(self, ctx, *, query: str):
|
||||||
"""Search online for music."""
|
# """Search online for music."""
|
||||||
|
|
||||||
await self._basic_search(ctx, query, 'music')
|
# await self._basic_search(ctx, query, 'music')
|
||||||
|
|
||||||
@commands.command(aliases=['file'])
|
# @commands.command(aliases=['file'])
|
||||||
async def files(self, ctx, *, query: str):
|
# async def files(self, ctx, *, query: str):
|
||||||
"""Search online for files."""
|
# """Search online for files."""
|
||||||
|
|
||||||
await self._basic_search(ctx, query, 'files')
|
# await self._basic_search(ctx, query, 'files')
|
||||||
|
|
||||||
@commands.command(aliases=['image'])
|
# @commands.command(aliases=['image'])
|
||||||
async def images(self, ctx, *, query: str):
|
# async def images(self, ctx, *, query: str):
|
||||||
"""Search online for images."""
|
# """Search online for images."""
|
||||||
|
|
||||||
await self._basic_search(ctx, query, 'images')
|
# await self._basic_search(ctx, query, 'images')
|
||||||
|
|
||||||
@commands.command()
|
# @commands.command()
|
||||||
async def it(self, ctx, *, query: str):
|
# async def it(self, ctx, *, query: str):
|
||||||
"""Search online for IT-related information."""
|
# """Search online for IT-related information."""
|
||||||
|
|
||||||
await self._basic_search(ctx, query, 'it')
|
# await self._basic_search(ctx, query, 'it')
|
||||||
|
|
||||||
@commands.command(aliases=['map'])
|
# @commands.command(aliases=['map'])
|
||||||
async def maps(self, ctx, *, query: str):
|
# async def maps(self, ctx, *, query: str):
|
||||||
"""Search online for map information."""
|
# """Search online for map information."""
|
||||||
|
|
||||||
await self._basic_search(ctx, query, 'maps')
|
# await self._basic_search(ctx, query, 'maps')
|
||||||
|
|
||||||
@commands.Cog.listener()
|
@commands.Cog.listener()
|
||||||
async def on_command_error(self, ctx, error):
|
async def on_command_error(self, ctx, error):
|
||||||
|
|
Loading…
Reference in New Issue