Wall-E, named after the lovable character Wall-E, will hold all the scripts for the upcoming bot that will operate on the CSSS discord, located here. This bot is owned by the CSSS and will be maintained by the current CSSS appointed Discord representative and the current bot development team.
.ping- returnspong!.echo <arg>- returns<arg>.newrole <arg>- creates role<arg>.iam <arg>- adds you to role<arg>.iamn <arg>- removes you from role<arg>.whois <arg>- returns everyone who has role<arg>.poll <arg>- starts a yes/no poll where<arg>is the question.poll <arg0> <arg1> <arg2>(up to 12 arguments) - starts a poll where<arg0>is the question and the remaining arguments are the options
Server IP: 178.128.184.141
For access to the jenkins, notify someone on the following list:
- Winfield Chen (CSSS VP) - csss-vp@sfu.ca
Follow steps outlined in the README for machine setup steps to prepare the host machine to support CI/CD
Follow these steps to run the bot and do development on your local machine.
Pre-requisites: A Discord account.
- Create your own Discord server for testing by clicking the + on the left side
- Navigate to
https://discordapp.com/developers/applications/meand login - Click
New App - Name your app to whatever you wish then click
Create App - Save the
Client IDunder theApp Details - Scroll down, click
Create a Bot Userand confirm - Within the new
Botsection of the dashboard, clickclick to reveal, and save thetoken - Naviate to
https://discordapp.com/oauth2/authorize?&client_id=YOUR_CLIENT_ID_HERE&scope=bot&permissions=0and replaceYOUR_CLIENT_ID_HEREwith the client ID of your bot - Select the server you created and click
Authorize
Pre-requisites: git, python3, and pip3.
From a command line
- Run
git clone https://github.com/CSSS/wall_e.git - cd into
wall_edirectory - Run
pip3 install -r requirements.txt - Run
sudo apt-get install -y redis-server - Run
sudo service redis-server start - Run
export TOKEN=tokenwith thetokenyou obtained during the authentication step - Run
python3 main.py
