Added Rock, Paper, Scissors.

This commit is contained in:
2022-10-24 01:55:30 +02:00
parent 29f69fa40a
commit 6428c01e6c
8 changed files with 83 additions and 11 deletions
+2 -2
View File
@@ -13,7 +13,7 @@ const {
logger.setLevel(argv.level || 'info');
const client = new irc.Client(config.server, config.user.nick, {
const client = new irc.Client(config.server, config.user.id, {
userName: config.user.username,
realName: config.user.realName,
password: config.user.password,
@@ -30,7 +30,7 @@ async function init() {
})),
};
const games = await getGames(bot, config.user.nick);
const games = await getGames(bot, config.user.id);
client.addListener('registered', () => {
logger.info('Connected!');