here is a nice tutorial from discord.js docs
- Create your own discord server
- Go to https://discord.com/developers/applications?new_application=true and create a new application
- On the General Information page, copy Application ID and Public Key, you can also setup an app icon
- Go on Application Testers page and add yourself
- On the OAuth2 Page/URL Generator, select scope
bot
, and bot permissions:Send Messages
,Add Reactions
,Read Message History
You should have a URL like:https://discord.com/api/oauth2/authorize?client_id={CLIENT_ID}&permissions=67648&scope=bot
- Go on this url and add the discord bot into your server
- Create a private channel, and add your bot inside of it
- On discord app, go to app testers, and add yourself as a tester.
export GRANTEE=stars13lxkjj7959yda7xqrlrf07zenmgrezheypxzvs
$DAEMON_NAME tx authz grant $GRANTEE generic --msg-type /cosmos.gov.v1beta1.MsgVote --from validator --fees 50000ustars
You can use tfm.com to send money via ibc to every wallet address
- Setup the default config for your bot
cp config.example.yml config.yml
echo '[]' > cosmos-tower.db.json
-
Install docker and docker-compose
-
Start it ! 🎉
docker-compose up -d