Skip to content
This repository has been archived by the owner on Feb 15, 2022. It is now read-only.

Commit

Permalink
Merge pull request #158 from ombe1229/v4
Browse files Browse the repository at this point in the history
fix: search command works on nsfw channel only
  • Loading branch information
SaidBySolo authored Jun 28, 2021
2 parents bedcad8 + 55a06d9 commit 4d39fe1
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
4 changes: 2 additions & 2 deletions hiyobot/__init__.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
from collections import namedtuple

__version__ = "4.0.0-alpha.5"
__version__ = "4.0.0-alpha.6"

VersionInfo = namedtuple("VersionInfo", "major minor micro releaselevel serial")

version_info = VersionInfo(major=4, minor=0, micro=0, releaselevel="alpha", serial=5)
version_info = VersionInfo(major=4, minor=0, micro=0, releaselevel="alpha", serial=6)
1 change: 1 addition & 0 deletions hiyobot/cogs/nsfw/heliotrope.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ async def _info(self, ctx: commands.Context, index: int):
await msg.edit(embed=discord.Embed(title="정보를 찾지 못했습니다."))

@commands.command("검색")
@commands.is_nsfw()
async def _search(self, ctx: commands.Context, *, query: str):
"""
검색을 요청합니다.
Expand Down

0 comments on commit 4d39fe1

Please sign in to comment.