Meowhal / osu-ahr

irc bot for osu multi lobby auto host rotation
MIT License
129 stars 37 forks source link

Discord Integration #25

Closed Metacinnabar closed 3 years ago

Metacinnabar commented 3 years ago

Description

Integration with a Discord channel through a bot, and allow commands to be run through the bot the execute for the lobby.

Features

Chat bridge between Discord and in-game osu! chat. Executing commands through Discord such as starting the game, acting like a console. (with only specified user ids to be able to run these commands)

Meowhal commented 3 years ago

Thanks for translation GoodPro712. Is it a security or privacy issue to transfer game chats to a Discord server without the player's consent? Embarrassingly, I'm not familiar with discord integration.

Metacinnabar commented 3 years ago

I'm not completely sure. I'm pretty sure at least most players wouldn't mind, though maybe a message could be sent in chat or something similar to notify the players?

Metacinnabar commented 3 years ago

I think you could use something like discord.ts for writing a Discord bot in typescript.

Meowhal commented 3 years ago

thx for link It looks interesting, so I'll work on coding

Meowhal commented 3 years ago

The Discord integration feature is still in testing, but it's working. Please use it if you are interested.

https://github.com/Meowhal/osu-ahr/tree/dev-discord

How to use the Discord version was added in the latter half of the readme. However, it is in Japanese.

Metacinnabar commented 3 years ago

Unfortunately I am unable to test it currently, although I am happy to translate the Japanese text.