Rojão Bot

Rojão Bot

4.2
0

概览

A simple bot that plays a brazilian-style rocket sound whenever is called by someone in a voice channel and then leaves.


Using only the discord.js and discord-opus dependencies, the bot code structure consists in one single Javascript index file, alongside an audio file and a Procfile for Heroku deployment. The code has one event, which prints something in the terminal when the bot is ready to use, and one command that follows this logic:

Whenever an user inside a voice channel that isn't a bot types '!rojao' or '!rojão' (in portuguese, rocket or firework), the bot triggers the 'join' command to join the voice channel. Then, the bot replies the message author with a text simulating the sound of the rocket (with a brazilian type of accent and some emojis), plays the audio file and, as the reproduction finishes, leaves the voice channel.

评分和评论


4.2

5 评论

只能由注册用户留下评论。所有评论都由Top.gg版主主持。 请确保在发布之前检查 我们的指南

5 星

4

4 星

0

3 星

0

2 星

0

1 星星

1




flying.snake
flying.snake
over 4 years ago

Bão d+ IIIIIIIIIIIIIIIKKKKKKKKKKK

0

Kacnique
Kacnique
over 4 years ago

Muito bom kkkkkkk só podia ter mais pow pow pow

0

é o grongos
é o grongos
almost 5 years ago

Muito foda seu bot, mas como vc fez pra ele sair sempre que acaba o audio??

0
Avatar
Rojão Bot回复 é o grongos

Apesar de eu ter dado um refactor por questão de segurança, o código é open source. Todas as feats do bot estão no repositório dele no GitHub.


hog5589
hog5589
almost 5 years ago

Rojão bot is one of the best bots ever created, reaaallyy awesome

1