https://github.com/noescape00/discordtipbot
Tipping bot for discord that supports STRAT and other cryptocurrencies
https://github.com/noescape00/discordtipbot
discord discord-bot stratis stratis-bitcoin tipbot
Last synced: about 1 year ago
JSON representation
Tipping bot for discord that supports STRAT and other cryptocurrencies
- Host: GitHub
- URL: https://github.com/noescape00/discordtipbot
- Owner: noescape00
- License: gpl-3.0
- Created: 2018-07-25T20:53:20.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2019-01-04T12:49:36.000Z (over 7 years ago)
- Last Synced: 2023-10-15T17:57:17.497Z (over 2 years ago)
- Topics: discord, discord-bot, stratis, stratis-bitcoin, tipbot
- Language: C#
- Homepage:
- Size: 11 MB
- Stars: 6
- Watchers: 4
- Forks: 11
- Open Issues: 9
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
### Tipbot for Discord that works with Stratis
The bot is added to the [stratis community discord](https://discord.gg/9tDyfZs). You can check it out there.
Or you can [add stratis tipbot](https://discordapp.com/oauth2/authorize?client_id=468025834519658496&scope=bot) to your server.
Don't forget to add `Manage Messages ` permission for the bot.
#### Guide: how to setup your own instance of the bot
A Stratis node (you can get latest release [here](https://github.com/stratisproject/stratisX/releases)) with RPC turned on needs to be running.
```
stratis-qt.exe -rpcuser= -rpcpassword= -rpcport= -server=1
```
You will also need [.NET Core SDK](https://www.microsoft.com/net/download) installed.
Clone the repository, open powershell in the repo folder and run `dotnet publish` from it. That will compile the project and produce `..\TipBot\bin\Debug\netcoreapp2.1\publish` folder with `TipBot.dll` and other files in it.
Now you can run the bot using powershell or cmd:
```
dotnet exec TipBot.dll -daemonUrl=http://127.0.0.1:23521/ -rpcUsername=USRNAME -rpcPassword=RPCPASS -walletPassword=WALLETPASS -token=BOTTOKEN
```
Bot configuration parameters:
```
daemonUrl - URL of RPC server. Usually http://127.0.0.1:/
rpcUsername - rpc user name
rpcPassword - rpc password
walletPassword - wallet's password. Dont specify if wallet is not encrypted
token - discord bot token
```
#### Creating a Discord Bot
Before you can begin writing your bot, it is necessary to create a bot
account on Discord.
1. Visit the Discord Applications Portal.
2. Create a New Application.
3. Give the application a name (this will be the bot's initial
username).
4. Create the Application.
5. In the application review page, click **Create a Bot User**.
6. Confirm the popup.
7. If this bot will be public, check "Public Bot." **Do not tick any
other options!**
#### Adding your bot to a server
1. Open your bot's application on the Discord Applications Portal.
2. Retrieve the app's **Client ID**.
3. Create an OAuth2 authorization URL
`https://discordapp.com/oauth2/authorize?client_id=&scope=bot`
4. Open the authorization URL in your browser.
5. Select a server.
6. Click on authorize.
#### Testing the bot is responsive
When you see the bot in the online status on your discord server, you are ready to test it.
Type: `@tipbot help`