A bot that connects your guild chat to a discord channel. Uses discord.py and pyCraft
Railway is a cloud development platform that lets you host projects 24/7 for free!
You'll need to specify four environment variables in order to get your bot up and running:
TOKEN
- Bot Token from Discord Developer PortalGUILD_CHAT_CHANNEL
- The ID of the channel where the bot should send and receive guild chat messages (e.g792771296445726740
)MINECRAFT_EMAIL
- The email of the Minecraft account you want the bot to useMINECRAFT_PASSWORD
- The password of the Minecraft account you want the bot to use
NOTE: You can't use a Microsoft account for the bot.
You can edit the constants.py
file to change the bot's prefix, and the emojis it uses.
# The prefix the bot responds to for commands
PREFIX = '!'
# Emojis the bot should use for certain events
EMOJIS = {
'DISCORD': '🗨️', # When a message is sent from Discord
'HYPIXEL': '🎮', # When a message is sent from Hypixel
'JOIN': '📥', # When a member joins Hypixel
'LEAVE': '📤' # When a member leaves Hypixel
}
# List of Owner IDs (to use commands like sumo)
OWNER_IDS = [177750582818242561]
You can use a unicode, like 🎮, or custom emojis like <:hypixel:855419679597920257>
Confused with something? Join the Observer Support server for help!