forked from UsergeTeam/Userge
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Made new class Message # removed old files # created core folder in root # moved db.py and client.py to that # now functions more user friendly than before # added new methods to Message class message.err() message.force_err() message.force_edit() # modified existing message.edit() and message.reply() [ added delete timeout ] <<< 42 minutes ago >>> little teaks in Message <<< 42 minutes ago >>> changed plugins for new structure <<< 36 minutes ago >>> simple fix in client <<< 25 minutes ago >>> added pySmartDL <<< 23 minutes ago >>> added .download command <<< 5 minutes ago >>> Signed-off-by: rking32 <[email protected]>
- Loading branch information
Showing
21 changed files
with
853 additions
and
680 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -14,3 +14,4 @@ emoji | |
wget | ||
nest_asyncio | ||
requests | ||
pySmartDL |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
from .utils import Config, logging | ||
from .client import Userge, Filters | ||
from .db import get_collection | ||
from userge.utils import Config, logging | ||
from userge.core import Userge, Filters, get_collection | ||
|
||
|
||
userge = Userge() # userge is the client name |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
from ._userge import Userge, Filters | ||
from ._database import get_collection |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
from .db import get_collection |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
from .client import Userge, Filters |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
from userge.utils import logging | ||
|
||
|
||
class Base: | ||
_MAIN_STRING = "<<<! ##### ___{}___ ##### !>>>" | ||
_SUB_STRING = "<<<! {} !>>>" | ||
_LOG = logging.getLogger(__name__) |
Oops, something went wrong.