Stack-Buddy is a Discord bot designed to help developers learn, earn, and create projects on the StackUp platform.
Before getting started with the Discord bot, ensure you have Rust installed on your system. Follow the instructions for your operating system below.
-
Install Rust:
- Download and install the Rust installer for your required OS from rustup
- During installation, it’s recommended to select the "default" option to install the stable toolchain.
-
Verify installation:
- Open Command Prompt or PowerShell or terminal and run the following command to verify Rust is installed
rustc --version
Stack-Buddy is a Discord bot that provides various functionalities to help stackies on the StackUp platform. It can fetch user details, display a calendar of events, and more.
As a stackie, getting information such as personal user details, campaigns, events, and much more happens on the StackUp website. This means whenever you need such information, you have to log on to the site. 90% of the time, that's stressful... I know, I said it, stressful. Do I really have to log on to the site every time I need this information? However, with Stack Buddy, you get to access all that information right in the Discord Community. I know, right? It's much less stressful! Stack Buddy brings the StackUp platform to your very doorstep. Now you can check your balance, view active campaigns, see upcoming hackathons, and more, all without leaving Discord. You're Welcome!!
To get started with Stack-Buddy, follow these steps:
-
Clone the repository:
git clone https://github.com/yourusername/stack-buddy.git cd stack-buddy -
Set up your environment variables: Create a
.envfile in the root directory and add your environment variables.DISCORD_TOKEN=your_discord_token
-
Build and run the project
cargo build cargo run
To get started with using the bot, follow these steps:
- Ensure you've completed the setup: Double-check that you've followed all the previous steps correctly, including defining your Discord bot's token in the
.envfile. - Get your bot's invite link: Head to the Discord Developer Portal, select your application, and navigate to the OAuth2 section. Choose the "bot" option and select the required permissions for your bot. Copy the generated invite link.
- Invite the bot to your server: Use the invite link to add the bot to your Discord server. By default, the bot will be offline.
- Start the bot: Run the command cargo run in your terminal to bring the bot online.
- Explore available commands: Use the
!helpcommand to see a list of available commands and their descriptions.
That's it! You're now ready to start using the bot.
Peace ✌️✌️🍀
