Skip to content

thnhmai38/osu-chat-discord

Repository files navigation

osu-chat-discord

Fetch messages from osu!Bancho Chat and send it to Discord channel

GitHub repo size GitHub GitHub release (latest by date)

Requirements:

Usage:

  1. Run git clone https://github.com/thanhgaming5550/osu-chat-discord.git or manually download and extract the repository.

  2. Run npm install

  3. Create a .env file and write the following contents:

TOKEN= #Your Discord Bot Token
NAME= #osu username (IRC)
IRC= #IRC Password

In order to obtain IRC keys, please visit this website

  1. In config/channel.json, configure as follows:
{
    "channel": { 
        "enabled": true, #Look for messages on channels
        "channels": { #Send to what Discord Channel
            "#name_of_Osu_channel": ["DiscordChannelID1", "DiscordChannelID2"],
            ...
        }
    },
    "pm": { 
        "enabled": true, #Look for PM (of those who connect via IRC)
        "channels": ["DiscordChannelID3", "DiscordChannelID4",...],  #Send to what Discord Channel
        ...
    } 
}
  1. Run node index.js

Customization:

You can customizate the output in config/language.json