ireality / crc-bot Goto Github PK
View Code? Open in Web Editor NEWDiscord Bot for the CRC (Chaos Raiding Central) Final Fantasy 14 Discord bot.
Discord Bot for the CRC (Chaos Raiding Central) Final Fantasy 14 Discord bot.
Hi and thanks for the bot. i am getting the message noDefaultGuild. Tried to type the fc name and the url with no luck. Could you explain how to set it? thank you
Figured out why the purge is failing - it relates to this discord issue: discord/discord-api-docs#208
TL;DR - Currently it's not possible to bulk-delete messages over 14 days old.
I'll work on how best to deal with this, but I think if you still want the whole channel purged, then we will probably have to do a bulk-delete followed by an individual delete on any remaining messages.
I would like to clarify how you want the message throttle (slow mode) to operate:
0|discord | 2017-01-31T00:29:49.568Z - debug: got message from [Saeris-Test] in channel [announcements]: .iam casters
0|discord | 2017-01-31T00:29:49.569Z - error: TypeError: Cannot read property 'roles' of undefined
0|discord | at iam (/opt/bot/plugins/role.js:38:40)
0|discord | at next (native)
0|discord | at onFulfilled (/opt/bot/node_modules/co/index.js:65:19)
0|discord | at /opt/bot/node_modules/co/index.js:54:5
0|discord | at new wrappedPromise (/usr/lib/node_modules/pm2/node_modules/async-listener/index.js:372:16) 0|discord | at co (/opt/bot/node_modules/co/index.js:50:10)
0|discord | at Object.iam [as exec] (/opt/bot/plugins/role.js:27:12)
0|discord | at /opt/bot/bot.js:101:41
0|discord | at next (native)
0|discord | at onFulfilled (/opt/bot/node_modules/co/index.js:65:19)
Hi Aleks,
I'd like to link the project to travis for the test framework. Would you be able to link your github account with travis here: https://travis-ci.org/auth and then go the profile page on travis and enable the crc-bot repo?
Cheers,
Scott
Welcome message to new users
Users messaging in a channel a command .iam
for example .iam Tank
gives the user a Tank class
Which role can be used with this command must be set first with the command ".asar" (".asar Tank" done by an admin, allows the users to do .iam tank - roles not prior assigned by .asar can not be used for .iam)
The bot also keeps the channel where users have to use the command clean (deletes the user's command and the bot reply (you have been assigned the role....) after a few seconds)
we have monitoring channel, where the bot is literally tracking everything on the server. just an example:
:clock5:【11:50:57】 Message :pencil: #general
:bust_in_silhouette:Radical User#6606
Old: xxxxx
New: xxxxxyyyy
:clock5:【11:51:42】 New Message #general
:bust_in_silhouette:User#5665 xxxxx
track everything basically
make the bot available to the .iam
command via PM (we have tons of users messaging the bot instead of using the command in the #announcements channel)
slow mode for a channel (1 message every 1 hour allowed)
.iamnot
command to allow users to remove themselves from a role
purge configured channels of all messages at a specific time each day
I would like to detail the required behaviour of the iam
and iamnot
commands if possible.
.iam cASterS
Since discord have rate limiting on bots, I was thinking it might be better to log all messages into a file rather than a dedicated channel. What do you think?
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.