Compare commits

...

2 Commits

Author SHA1 Message Date
13af76df7a add additional alias 2023-02-22 08:31:53 -05:00
7caa3d886d remove admin requirement 2023-02-22 08:31:35 -05:00
2 changed files with 2 additions and 2 deletions

View File

@ -151,7 +151,7 @@ def pickMovie(bot, trigger):
movieInfo(bot, trigger) movieInfo(bot, trigger)
@require_admin #@require_admin
@commands('addmovie') @commands('addmovie')
@example(".addmovie Dr. Strangelove or: How I Learned to Stop Worrying and " @example(".addmovie Dr. Strangelove or: How I Learned to Stop Worrying and "
"Love the Bomb") "Love the Bomb")

View File

@ -33,7 +33,7 @@ def translate(text, in_lang='auto', out_lang='en'):
return tl_text, data[2] return tl_text, data[2]
@commands('translate', 'tr') @commands('translate', 'tr', 'tl')
@example('.tr -i en -o fr my dog', '"mon chien" (en to fr, translate.google.com)') @example('.tr -i en -o fr my dog', '"mon chien" (en to fr, translate.google.com)')
@example('.tr היי', '"Hey" (iw to en, translate.google.com)') @example('.tr היי', '"Hey" (iw to en, translate.google.com)')
@example('.tr mon chien', '"my dog" (fr to en, translate.google.com)') @example('.tr mon chien', '"my dog" (fr to en, translate.google.com)')