Skip to content
This repository has been archived by the owner on Nov 11, 2024. It is now read-only.
Gustas Savickas edited this page Jun 23, 2022 · 3 revisions

Prerequisites:

Python3

1) Clone the repo:

Linux:
sudo apt-get install git && git clone https://github.com/the-red-eye-studio/Discord-Crypto-wallet.git && cd Discord-Crypto-wallet && rm github cover.png && rm example_serviceAccountKey.json && rm README.md && rm DiscordToken

Windows:
Install: https://git-scm.com/downloads
git clone https://github.com/the-red-eye-studio/Discord-Crypto-wallet.git && cd Discord-Crypto-wallet && del github cover.png && del example_serviceAccountKey.json && del README.md && del DiscordToken

3) Install all required libs:

Windows: pip install -r requirements.txt Linux: pip3 install -r requirements.txt

4) Get your discord token:

go to https://discord.com/developers/applications
Click "New application" on the top right
Enter in a name
You may change the info here
Now click on bot, it's on the left bar
"Add a bot" on the right
You may also change the info here Scroll back up and click on "reset token", now click on copy

5) Make the DiscordToken file:

Linux: echo <YourToken> >> DiscordToken && clear
Windows: echo <YourToken> >> DiscordToken && cls

6) Get the serviceAccountKey.json file:

Go to: https://console.firebase.google.com/
Click on "Create a project"
Enter in the bots name and Read and agree to the terms
Next to project overview click on the cog, then Project settings, then go over to the Service accounts tab. click on Create a service account, generate new private key, generate key
save the file in the same folder you cloned and rename it to serviceAccountKey.json

7) Edit the bot.py file:

Open the bot.py file in your favorite IDE/text editor, change the Contact, HelpURL and gitrepo

8) Run the bot:

Linux: python3 bot.py Windows: python bot.py

9) Invite it:

go back to the bot tab and this time go to Oauth2, URL generator, tick applications.commands, bot, then tick these: image click on the blue copy and paste it in to a new tab, permit access

10) test it:

11) Enjoy!