chrislgardner / adventureguild.discord Goto Github PK
View Code? Open in Web Editor NEWDiscord bot for managing adventures and scheduling reminders for games.
License: MIT License
Discord bot for managing adventures and scheduling reminders for games.
License: MIT License
Currently job board channel is hard coded to the test server but if/when this is in use by other servers we'll need to be able to configure where jobs go based on which server a message came from. This could also be extended to allow setting notification intervals and more.
Rescheduling becomes necessary eventually so need a way to handle that. Possibly have the DM reply to the original job posting with a new date and time. This should then update the job posting and update the reminder.
This function should really just be a loop over a slice of supported formats with the if check inside and if nothing is found then return the error.
AdventureGuild.Discord/main.go
Line 355 in 7b037e0
Some amount of time (1 day? 3 days? hours?) before a Job/Adventure is due to happen send a reminder to all players who've reacted to the job message to inform them that it's happening. This should be through DM to prevent potentially spamming a channel.
Message should include:
Add a command that let's a user provide a date or job/adventure and a target timezone and get back the date and time in that timezone.
Initial schema for Reminders:
server: discord server where reminder was created
channel: channel where reminder was created
creator: discord id that created reminder
message: message id that created reminder
title: title of reminder
date: date of event that reminder is for
createdDate: when reminder was created
Users should be able to create a Job/Adventure either by uploading a file or by using a normal message. The format should be:
Title
Date/time of session (optional)
Description
When created a new Message should be posted into a JobBoard (or something) channel. A reminder should also be created to alert players closer to the session date, if provided.
Initial schema for Job/Adventure items:
title: title for adventure (human readable)
date: date of adventure (optional)
description: free text to describe adventure premise including any requirements like level etc.
creator: discord id of creator
server: discord server id job/adventure was created in
channel: discord channel job/adventure is posted in
createdDate: date job/adventure was created
sourceChannel: channel id job/adventure was created in
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.