You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 4ec2a1c
Browse filesBrowse the repository at this point in the historyBrowse files
- Rewrite DB layer to use peewee ORM with a pooled postgres database
- Use eventlet green-threads instead of pre-fork strategy for concurrency
- Some other minor things, like adding use_peers to work_generate
Thank you for using my services @NOSTipBot! Below is a list of commands, and a description of how you can interact with me:
5
+
- .tip
6
+
- .help
7
+
- .register
8
+
- .account
9
+
- .withdraw
6
10
7
-
• !help: The NOSTipBot will respond to your DM with a list of commands and their functions. If you forget something, use this to get a hint of how to do it!n
11
+
# Install
8
12
9
-
• !register: Creates a fresh NOS (XNOS) account address specifically for you. This is used to store your tips. Make sure to withdraw to a private wallet, as the tip bot is not meant to be a long term storage device for NOS (XNOS).
• !balance: This shows you how much funds are in your your account.
15
+
Specify postgres user/schema/port/host
12
16
13
-
• !tip: Tips are sent directly to @username on telegram. Tag @NOSTipBot and mention !tip <amount> <@username>. EXAMPLE: @NOSTipBot !tip 1 @user will send a 1 NOS (XNOS) tip to another user.
17
+
Copy tipbot.service example to systemd
14
18
15
-
• !account: Returns the account number. You can use this to deposit more NOS (XNOS) to tip from your personal wallet.
16
-
17
-
• !withdraw: Proper usage is !withdraw nos_12345. This will send the full balance of your tip account to another external NOS (XNOS) account. Optional: You can include an amount to withdraw by sending !withdraw <amount> <address>. Example: !withdraw 1 nos_123 would withdraw 1 Nos to account nos_123
0 commit comments