Yiski's Configuration
This file is Yiski's own configuration, needs for parts of Yiski to operate.
To use it, copy the config.example.toml
in your cloned Yiski folder, and rename it to config.toml
danger
Remember to never share your config.toml
with your tokens in it, or else your bot is going to be compromised!
If you have to share it, delete your tokens from the file.
Config​
config.example.toml
[universal]
githubToken = ""
botPrefix = "yk!"
[revolt]
botToken = ""
ownerRoleName = ""
ventChannelID = ""
[discord]
botToken = ""
ownerRoleID = ""
ventChannelID = ""
[images]
[images.static]
devtools = "assets/images/devtoolsconfig.png"
ims = "assets/images/dreadfulims.png"
token = "assets/images/token.png"
[videos]
gasp = "assets/videos/gasp.mp4"
memoryleak = "assets/videos/memoryleak.mp4"
whatareyoudoing = "assets/videos/whatareyoudoing.mp4"
Explaining each part of the config​
[universal]
- You can use it on the Revolt and Discord side of the bot at the same timegithubToken
- Used for theghr
command, this would be your GitHub PAT, and the bot can see repos that you can see.botPrefix
- The prefix required to run a command. Default isyk!
[revolt]
- Revolt side onlybotToken
- The Bot Token for your bot on Revolt, you can find it in Settings -> My Bots -> ClipboardownerRoleName
- The name of your Owner Role, or whichever role you want to use to manage the bot. This is Case Sensitive.ventChannelID
- The ID of your Vent Channel to be wiped every night
[discord]
- Discord side onlybotToken
- The Bot Token for your bot on Discord, which you can find by going to https://discord.dev -> Sign In, Click on your App, Click on Bot -> Copy [or create a Bot User and then Copy]ownerRoleID
- The ID of your Owner Role, or whichever role you want to use to manage the bot. Click on a user -> right click on one of their roles in the profile popup -> Copy IDventChannelID
- The ID of your Vent Channel to be wiped every night
[images]
- Images for the bot to use, also Universal technically[images.static]
- Static images to use. Animated images/GIFs were planned to be used at one point but kind of fell apart.devtools
- Image used for thedevtools
command on the Discord side of the bot, shows what your configuration should look likeims
- IMS is a brat.token
- Used for thetoken
command to make fun of token leaking
[videos]
- Videos for the bot to usegasp
- Furry anyone?memoryleak
- SEGFAULT go brrrwhatareyoudoing
- Markiplier looks down on you, please stop.