-
Notifications
You must be signed in to change notification settings - Fork 3
Data
There are 3 json
files that store the data for Food Flex.
daily_data.json
scoreboard.json
quotes.json
This stores 3 lists:
-
submissions
int -
votes
int -
voters
int
Stores the IDs of the users who have submitted.
Stores the number of votes for each submission. The index of the vote matches the index of the users ID in submissions
.
Stores the IDs of the users who have voted.
This stores 2 lists:
-
users
int -
score
int
Stores the IDs of users who have participated in food flex, and won at least once.
Stores the number of wins for each user. The index of the score matches the index of the users ID in users
Stores the quotes the bot says. Contains 2 lists of quotes:
-
nice
str -
rude
str
Nice aren't used in the bot, but could be used in the future. The quotes are picked at random from rude. You can add new quotes here.
NOTE: The Discord API uses snowflakes to store user IDs. discord.py
previously used a string
data type, but now uses a int
data type.
Find me on Twitter