Skip to content
This repository has been archived by the owner on Dec 22, 2020. It is now read-only.

Commit

Permalink
seden: Fix for Snips module
Browse files Browse the repository at this point in the history
Signed-off-by: NaytSeyd <[email protected]>
  • Loading branch information
naytseyd committed May 12, 2020
1 parent da2dde0 commit 92a1c2f
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions sedenbot/moduller/snips.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
async def on_snip(event):
""" Snip mantığı. """
try:
from userbot.modules.sql_helper.snips_sql import get_snip
from sedenbot.moduller.sql_helper.snips_sql import get_snip
except AttributeError:
return
name = event.text[1:]
Expand All @@ -50,7 +50,7 @@ async def on_snip(event):
async def on_snip_save(event):
""" .snip komutu gelecekte kullanılmak üzere snips kaydeder. """
try:
from userbot.modules.sql_helper.snips_sql import add_snip
from sedenbot.moduller.sql_helper.snips_sql import add_snip
except AtrributeError:
await event.edit("`SQL dışı modda çalışıyor!`")
return
Expand Down Expand Up @@ -89,7 +89,7 @@ async def on_snip_save(event):
async def on_snip_list(event):
""" .snips komutu sizin tarafınızdan kaydedilen snip'leri listeler. """
try:
from userbot.modules.sql_helper.snips_sql import get_snips
from sedenbot.moduller.sql_helper.snips_sql import get_snips
except AttributeError:
await event.edit("`SQL dışı modda çalışıyor!`")
return
Expand All @@ -109,7 +109,7 @@ async def on_snip_list(event):
async def on_snip_delete(event):
""" .remsnip komutu belirlenini snipi siler. """
try:
from userbot.modules.sql_helper.snips_sql import remove_snip
from sedenbot.moduller.sql_helper.snips_sql import remove_snip
except AttributeError:
await event.edit("`SQL dışı modda çalışıyor!`")
return
Expand Down

0 comments on commit 92a1c2f

Please sign in to comment.