Skip to content

Commit

Permalink
spelling mistake (UsergeTeam#419)
Browse files Browse the repository at this point in the history
  • Loading branch information
SpEcHiDe authored Dec 12, 2021
1 parent 8cca829 commit e6038b5
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions userge/plugins/utils/dic.py
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ def out_print(word1):
return out

if not input_:
await message.err("❌Plz enter word to search‼️")
await message.err("❌Please enter word to search‼️")
else:
word = input_
url = f"https://api.dictionaryapi.dev/api/v1/entries/en/{word}"
Expand All @@ -100,8 +100,8 @@ def out_print(word1):
v_word = r_dec['word']
last_output = out_print(r_dec)
if last_output:
await message.edit("`📌Search reasult for `" + f"👉 {v_word}\n\n" + last_output)
await CHANNEL.log(f"Get dictionary results for 👉 {v_word}")
await message.edit("`📌Search result for `" + f"👉 {v_word}\n\n" + last_output)
await CHANNEL.log(f"Got dictionary results for 👉 {v_word}")
else:
await message.edit('`No result found from the database.😔`', del_in=5)
await CHANNEL.log("Get dictionary results empty")
await message.edit('`No result found in the database.😔`', del_in=5)
await CHANNEL.log("Got dictionary result empty")

0 comments on commit e6038b5

Please sign in to comment.