DiscordStoatBridgeBot
This Discord+Stoat Bridge Bot source code allows you to connect your Discord and Stoat community together.
Install / Use
/learn @Roxanne-Wolf/DiscordStoatBridgeBotREADME
Discord+Stoat Bridge Bot
Made by: roxanne.wolf. (On Discord) / RoxanneWolf#6117 (On Stoat.chat)
About:
This Discord+Stoat Bridge Bot source code allows you to connect your Discord and Stoat community together. This will allow your Discord and Stoat members to communicate with each other. This code is meant to be a simple and memory-efficient way to bridge your Discord and Stoat community without the need of complex code or high memory usage.
This project will only work for 1 Discord server and 1 Stoat server with the way it is designed.
Requirements:
- Python 3.10 or newer.
- Some basic knowledge of Python
- A Discord AND stoat.chat bot
- At least 512mb ram free and 512mb disk free.
Setup:
Here is the steps needed to get started with using this source code.
- Download/Fork this source code and upload it to your server
- Create a Discord and Stoat bot.
- For Discord: Go to https://discord.com/developers/applications and create a new application. Under the bot section, enable the Message content intent so the bot can check the messages and send them to the set Stoat channel.
- For Stoat: Go to https://old.stoat.chat/settings/bots and create a new bot. Make sure to copy the token.
- Open config.json and fill in everything it asks for:
{
"discordbottoken": "", #Put in your Discord bot token here
"discordbotprefix": "!", #Put in the prefix for the Discord bot (not used)
"stoatbottoken": "", #Put in your Stoat.chat bot token.
"stoatbotprefix": "!", #Put in the prefix for the Stoat.chat bot.
"discordchannelid": DISCORD_CHANNEL_ID_HERE, => Replace DISCORD_CHANNEL_ID_HERE with your Discord channel ID
"discordwebhookurl": "", => Put in your Discord webhook url here.
"stoatchannelid": "", => Put in the Stoat channel ID here (Make sure the Stoat.chat bot has the "Use Masquerade" permission.
"lang": "", => Set the language code of the language. Defaults to English. (Refer to the supported languages section below)
}
- Invite your Discord and Stoat bot to your servers
- For the Discord bot, make sure it has the Read Messages and View Message History permission on the channel you are trying to bridge to your Stoat channel. Make sure to check channel overrides as well.
- For the Stoat bot, make sure the bot has the following permissions: "View Channel", "Send Messages", "Send Embeds", and "Use Masquerade". Make sure to check channel overrides as well.
- Install everything from the requirements.txt file.
- Run the main.py file. Assuming you did all steps correctly, your Discord+Stoat bridge bot should work.
ToDo
- Get Translators to get better accurate translations
- Command support for the Discord bot
Please open an issue or pull request if you have a solution to any of these issues.
Supported Languages:
- en = English (Default/Main)
- es = Spanish
- de = German
- tr = Turkish
| Language | Verified translation? | Translation by (Stoat usernames) | |--------------|-----------------------|----------------------------------------------------| | English (en) | :white_check_mark: | RoxanneWolf#6117 | | Spanish (es) | :x: | Google Translate | | German (de) | :x: | Google Translate | | Turkish (tr) | :x: | Google Translate |
