hopsoncommunity / hopsonbot Goto Github PK
View Code? Open in Web Editor NEWDiscord bot for the Hopson Community Server, written using Discord.js
License: MIT License
Discord bot for the Hopson Community Server, written using Discord.js
License: MIT License
Calling >8ball command on the bot causes the bot to terminate
Bot.sendMessage(message.channel, "No question given");
^
ReferenceError: Bot is not defined
There are almost no comments in the code, making it hard to implement new features since the code is hard to read.
TypeError: Cannot read property 'displayName' of null
at logMessageInfo (/home/hopbot/HopsonBot/src/events/message_sent_handler.js:103:33)
at MessageSentHandler.handleMessageSent (/home/hopbot/HopsonBot/src/events/message_sent_handler.js:26:9)
at Client.client.on (/home/hopbot/HopsonBot/src/hopson_bot.js:31:37)
at Client.emit (events.js:159:13)
at MessageCreateHandler.handle (/home/hopbot/HopsonBot/node_modules/discord.js/src/client/websocket/packets/handlers/MessageCreate.js:9:34)
at WebSocketPacketManager.handle (/home/hopbot/HopsonBot/node_modules/discord.js/src/client/websocket/packets/WebSocketPacketManager.js:103:65)
at WebSocketConnection.onPacket (/home/hopbot/HopsonBot/node_modules/discord.js/src/client/websocket/WebSocketConnection.js:333:35)
at WebSocketConnection.onMessage (/home/hopbot/HopsonBot/node_modules/discord.js/src/client/websocket/WebSocketConnection.js:296:17)
at WebSocket.onMessage (/home/hopbot/HopsonBot/node_modules/ws/lib/event-target.js:120:16)
at WebSocket.emit (events.js:159:13)
Can just check if it's null first but would rather know what caused it.
https://i.imgur.com/DIub1FG.png
round the ping :)
A tool to display user messages in a graph which shows their message count in each channel.
X axis should be channel name.
Y axis should be message count.
X axis should be sorted in descending order of message count.
To use the bot, the command would be in the form of >graph @user
or something similar.
Quiz limit should be per server.
Ability to
(Default action on x warnings? kick/ban)
Decide how to store warnings.
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.