tomped / miscord Goto Github PK
View Code? Open in Web Editor NEWMeme bot for Discord and useful history logging
Meme bot for Discord and useful history logging
At the moment the parser uses an array of commands and has a switch for each element of the array to execute the functions.
Change the parser to use a hash table for commands (.command = key, actual function = value) for increased clarity.
Talked about in #6.
The current logging format is ugly and hard to quickly scan with the eye
Allow the person operating the bot to configure a custom command trigger in case the bot conflicts with other bots' commands.
Add your ideas to this as the come.
Make sure our logic is server agnostic.
If this bot is in server A and B and a person moves around in server A, the movements get logged in both servers.
All of the file playing logic is tied between the two
Command to select a Math.random() sound from an array of audio files!
Talk about token.
Everything works correctly and links to FB messenger for users typing in chat from discord. However, when I send notifications to the Discord channel via webhook (using pokealarm) I get the error below that the nickname is null. If I set showUsername to false Miscord just stops responding.
C:\miscord\index.js:46
body: config.discord.showUsername ? (message.member.nickname || message.author.username) + ': ' + content : content, ^
TypeError: Cannot read property 'nickname' of null
Prereq. have node.
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.