2
0
mirror of https://github.com/Nick80835/microbot synced 2025-09-04 16:35:35 +00:00

userlock some commands

This commit is contained in:
Nick80835
2020-06-16 19:16:06 -04:00
parent 6dcb9a40be
commit 224d6a5578
8 changed files with 16 additions and 16 deletions

View File

@@ -13,7 +13,7 @@ NEKO_TYPES = ['neko', 'lewd', 'smug', 'tits', 'trap', 'anal', 'cuddle', 'hug', '
REPLY_TYPES = ['cuddle', 'hug', 'slap', 'spank', 'pat', 'baka']
@ldr.add_list(NEKO_TYPES, nsfw=True, pattern_extra="(f|)")
@ldr.add_list(NEKO_TYPES, nsfw=True, pattern_extra="(f|)", userlocking=True)
async def supernekoatsume(event):
nekotype = event.extras
as_file = bool(event.pattern_match.group(1))