SCAICT-uwu is a playful and interactive Discord bot that resides in the SCAICT Discord community. Designed to bring fun and utility to its users, SCAICT-uwu loves to sing, dance, code, and do math, making it an engaging companion for the community members.
SCAICT-uwu offers a range of interactive features, from daily activities to coding challenges. Whether you want to play games, solve puzzles, or simply chat, SCAICT-uwu is always ready to respond to your commands.
SCAICT, the Student Club Information Association of Central Taiwan, is an electronic engineering club composed of schools from central Taiwan. By combining the resources of the Central District, we actively organize educational events, activities, and competitions related to information technology, with the goal of facilitating the flow of technology and knowledge.
Interact with SCAICT-uwu using slash commands in any channel where the bot is active. These commands are intuitive and designed to provide instant feedback or initiate specific bot actions.
Some interactions with SCAICT-uwu occur within dedicated channels, allowing for more focused activities such as guessing colors or counting.
You can buy some products like our stickers or USB drives using Electric Points. Note that the products currently can only be exchanged during in-person events. We will soon offer shipping options and more virtual rewards for redemption.
Get some tickets, and you can play the slot machine to earn Electric Points. Just long press to start the slot.
Join the Server
Start by joining the SCAICT Discord community using this link.
Earn Your First Electric Points
Visit the #daily-charge
channel and use the /charge
command to receive your first set of Electric Points, the primary currency used within the bot's ecosystem.
Enjoy in Services
Explore the various commands and interactions SCAICT-uwu offers, and enjoy the space within the server, engaging and connecting with everyone.
For more detailed documentation, please refer to this link.
Clone this repository.
Create an environment in Python 3.11.
Install the required libraries.
pip install -r requirements.txt
Configure the channels in DataBase/server.config.json
.
Start the SQL server.
Configure the SQL server in cog/core/sql_acc.py
within Breadcrumbs SCAICT-uwu.
Run Flask.
flask run
Execute main.py
.
python main.py
main.py
: 中電喵.
app.py
: 中電商店.
generate_secrets.py
: Generates keys for app.py
. After execution, the keys are stored in token.json
.
Database MySQL: Uses an external server. Configuration is in cog/core/secret.py
.
token.json
:
{
"discord_token": "",
"secret_key": "",
"discord_client_id": "",
"discord_client_secret": "",
"discord_redirect_uri": "http://127.0.0.1:5000/callback",
"github_client_id": "",
"github_client_secret": "",
"github_redirect_uri": "http://127.0.0.1:5000/github/callback",
"github_discord_redirect_uri": "http://127.0.0.1:5000/github/discord-callback"
}
DataBase/slot.json
:
Configures the jackpot probabilities for the slot machine.
{
"element": [ percentage, reward ]
}
For more detailed documentation, please refer to this link
SCAICT-uww is a project jointly developed and maintained by SCAICT and contributors. The character design was created by 毛哥 EM and 瑞樹, while some icons were sourced from Freepik - Flaticon.