1computer1 / hoshi Goto Github PK
View Code? Open in Web Editor NEWDiscord bot for starboard
License: MIT License
Discord bot for starboard
License: MIT License
when attempting to start i Receive the following error
Error: Cannot find module 'discord-akairo'
at Function.Module._resolveFilename (module.js:536:15)
at Function.Module._load (module.js:466:25)
at Module.require (module.js:579:17)
at require (internal/module.js:11:18)
at Object.<anonymous> (C:\hoshi\src\util\Extensions.js:1:87)
at Module._compile (module.js:635:30)
at Object.Module._extensions..js (module.js:646:10)
at Module.load (module.js:554:32)
at tryModuleLoad (module.js:497:12)
at Function.Module._load (module.js:489:3)
Add a setting to change the default reaction (star) to a custom emote.
Feature request to disable prevent self-star and if prevent star enabled a feature to disable the message notificaiton.
^
We'd like to set up more than one channel for a starboard like function for different occasions, but it seems like the bot is currently limited to one. It would be great to be able to set up more than one.
Please add the ability to blacklist channels
Every now and then Promises do not ever resolve within the queue.
This makes the queue stuck and making everything not work.
Current solution is to do a manual restart or to clear all queues manually.
No idea what causes it, but it could likely be from Discord's hiccups.
All message reactions would be received with the raw event instead of the messageReactionAdd event, so we should use that.
The invite link at the README.md does not work since the bot is private (only the owner can add it to servers). Are you manually adding servers?
when attempting to start i Receive the following error
[2020-04-02 10:12:35]: [Postgres]: Connection to database has been established successfully.
[2020-04-02 10:12:36]: [Info]: YardBot#8580 is ready to serve!
[2020-04-02 10:12:36]: [Error]: An unhandled promise rejection occured
[2020-04-02 10:12:36]: [Error]: TypeError: this.client.guilds.values is not a function or its return value is not iterable
at ReadyListener.exec (/home/discord/hoshi/src/listeners/client/ready.js:18:42)
at HoshiClient.emit (events.js:323:22)
at HoshiClient.EventEmitter.emit (domain.js:482:12)
at WebSocketManager.triggerClientReady (/home/discord/hoshi/node_modules/discord.js/src/client/websocket/WebSocketManager.js:433:17)
at WebSocketManager.checkShardsReady (/home/discord/hoshi/node_modules/discord.js/src/client/websocket/WebSocketManager.js:417:10)
at WebSocketShard.<anonymous> (/home/discord/hoshi/node_modules/discord.js/src/client/websocket/WebSocketManager.js:199:14)
at WebSocketShard.emit (events.js:311:20)
at WebSocketShard.EventEmitter.emit (domain.js:482:12)
at WebSocketShard.checkReady (/home/discord/hoshi/node_modules/discord.js/src/client/websocket/WebSocketShard.js:466:12)
at WebSocketShard.onPacket (/home/discord/hoshi/node_modules/discord.js/src/client/websocket/WebSocketShard.js:438:16)
at WebSocketShard.onMessage (/home/discord/hoshi/node_modules/discord.js/src/client/websocket/WebSocketShard.js:293:10)
at WebSocket.onMessage (/home/discord/hoshi/node_modules/discord.js/node_modules/ws/lib/event-target.js:120:16)
at WebSocket.emit (events.js:311:20)
at WebSocket.EventEmitter.emit (domain.js:482:12)
at Receiver.receiverOnMessage (/home/discord/hoshi/node_modules/discord.js/node_modules/ws/lib/websocket.js:801:20)
at Receiver.emit (events.js:311:20)
at Receiver.EventEmitter.emit (domain.js:482:12)
at Receiver.dataMessage (/home/discord/hoshi/node_modules/discord.js/node_modules/ws/lib/receiver.js:436:14)
at Receiver.getData (/home/discord/hoshi/node_modules/discord.js/node_modules/ws/lib/receiver.js:366:17)
at Receiver.startLoop (/home/discord/hoshi/node_modules/discord.js/node_modules/ws/lib/receiver.js:142:22)
at Receiver._write (/home/discord/hoshi/node_modules/discord.js/node_modules/ws/lib/receiver.js:77:10)
at doWrite (_stream_writable.js:441:12)
Hello. This is a request for a feature on the bot: a star limit. For those who don't know, a star limit is basically instead of Hoshi posting every message with one star react on it, you could set however many star reactions are needed before it posts said message to the starboard. It's a feature many other bots with starboard capabilities have, and since this is a bot solely dedicated to a starboard system, it should have this feature.
If I can figure out how to code it, I will probably open up a PR if you guys don't get to it first :P
Thanks :)
Akii#2111
Add the possibility to disable local reputation. I don't even know who can use add-rep.
Please disable channel blacklist message.
When someone reacts the star emote on a channel where it is blocked, the bot replies on that channel. And if it's an announcement channel it's even a bigger problem.
Maybe make it in the DMs or something.
Thanks :)
Kinda like manual reputation add, but for starboard top-stars table
To do for later: a restore command to restore guild settings, stars, reps, etc. in case of Hoshi leaving and rejoining the server.
why? Simply because its faster, easier and promotes more usage of utilizing starboard, especially to people who are new to starboard function.
So have a config where bot auto react the starboard emote in specified channel.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.