Hydaelyn Role-Players
[Mateus] Mateus Calendar RP Discord Bot - Printable Version

+- Hydaelyn Role-Players (https://ffxiv-roleplayers.com/mybb18)
+-- Forum: Resources (https://ffxiv-roleplayers.com/mybb18/forumdisplay.php?fid=17)
+--- Forum: Roleplay Events (https://ffxiv-roleplayers.com/mybb18/forumdisplay.php?fid=20)
+--- Thread: [Mateus] Mateus Calendar RP Discord Bot (/showthread.php?tid=21224)



Mateus Calendar RP Discord Bot - Neneso Neso - 01-09-2018

Forewarning:
The bot is very much still being worked on. Changes and updates will be posted here as they happen.

As I don't currently have the bot up on a server, it additionally will only be available when I'm online. I'm looking into hosting options, but I want to get all the functions into the bot first before I put it on a server. If you do, however, know a good free hosting option, let me know. If the bot is offline, it's offline.

The bot uses this calendar:  https://mateusrpcalendar.tumblr.com

To add the discord bot to a channel you must have "Manage Channel" permissions and follow the below link. 
https://discordapp.com/oauth2/authorize?&client_id=398617953999781900&scope=bot&permissions=0

Once it's there, give it a role to prevent it from talking in channels you don't want it interacting with.

Planned features:
  •  Daily notifications automatically.
  •  99% uptime.
  •  Timezone Indicator
  •  Option to notify when an event is starting
If you have any suggestions or features you want added, don't hesitate to ask! If you want to offer to assist with the programming side of things, don't hesitate to contact me on TheLaladome#8597

Current Commands
  • !week
  • !day

Changelog

Show Content

Known Bugs:
  • Using !day and !week or any commands at the same time causes the program to get confused. Wait for the 'end of post' message before requesting another.



RE: Mateus Calendar RP Discord Bot - Unnamed Mercenary - 01-09-2018

Is there a particular calendar the bot uses?

Also what's required to get it running? Does it have any particular OS/database requirements?


RE: Mateus Calendar RP Discord Bot - Neneso Neso - 01-09-2018

(01-09-2018, 07:57 PM)Unnamed Mercenary Wrote: Is there a particular calendar the bot uses?

Also what's required to get it running? Does it have any particular OS/database requirements?
https://calendar.google.com/calendar?cid=cDdsdDE5bWlndHBjdWdjdHRtNzJvNmNyMm9AZ3JvdXAuY2FsZW5kYXIuZ29vZ2xlLmNvbQ

We're using the mateus google calender here. I use the ical export, similar to that of the balmung calender. I plan to make it modular, so it can be used for any calendar.


RE: Mateus Calendar RP Discord Bot - Unnamed Mercenary - 01-09-2018

(01-09-2018, 08:03 PM)Neneso Neso Wrote:
(01-09-2018, 07:57 PM)Unnamed Mercenary Wrote: Is there a particular calendar the bot uses?

Also what's required to get it running? Does it have any particular OS/database requirements?
https://calendar.google.com/calendar?cid=cDdsdDE5bWlndHBjdWdjdHRtNzJvNmNyMm9AZ3JvdXAuY2FsZW5kYXIuZ29vZ2xlLmNvbQ

We're using the mateus google calender here. I use the ical export, similar to that of the balmung calender. I plan to make it modular, so it can be used for any calendar.

That link doesn't appear to be working for me. Is it the same one as the tumblr? https://mateusrpcalendar.tumblr.com

I'd love to get it importing on the new RPC site as well. As for hosting, perhaps we can PM on here (or move to discord from there) on hosting requirements. As offered to Erah'sae, if we can get it running on RPC's servers, then we could help out with some of the hosting burden. (Depending on data storage/bandwidth needed).


RE: Mateus Calendar RP Discord Bot - Neneso Neso - 01-09-2018

(01-09-2018, 08:45 PM)Unnamed Mercenary Wrote:
(01-09-2018, 08:03 PM)Neneso Neso Wrote:
(01-09-2018, 07:57 PM)Unnamed Mercenary Wrote: Is there a particular calendar the bot uses?

Also what's required to get it running? Does it have any particular OS/database requirements?
https://calendar.google.com/calendar?cid=cDdsdDE5bWlndHBjdWdjdHRtNzJvNmNyMm9AZ3JvdXAuY2FsZW5kYXIuZ29vZ2xlLmNvbQ

We're using the mateus google calender here. I use the ical export, similar to that of the balmung calender. I plan to make it modular, so it can be used for any calendar.

That link doesn't appear to be working for me. Is it the same one as the tumblr? https://mateusrpcalendar.tumblr.com

I'd love to get it importing on the new RPC site as well. As for hosting, perhaps we can PM on here (or move to discord from there) on hosting requirements. As offered to Erah'sae, if we can get it running on RPC's servers, then we could help out with some of the hosting burden. (Depending on data storage/bandwidth needed).

Correct, same as the tumblr.

It works for discord bots fine, the thing is I need access to the back end(To make updates to it). It additionally needs to have node.js, the language I programmed in.

It's basically similar to any app on your phone. You turn it on and it's on. I run it in the background fine. The thing is it's only on when I'm online, as I'm the only one with the code.

As for your calendar on here, that's easy enough to do.


RE: Mateus Calendar RP Discord Bot - Unnamed Mercenary - 01-09-2018

(01-09-2018, 09:29 PM)Neneso Neso Wrote:
(01-09-2018, 08:45 PM)Unnamed Mercenary Wrote:
(01-09-2018, 08:03 PM)Neneso Neso Wrote:
(01-09-2018, 07:57 PM)Unnamed Mercenary Wrote: Is there a particular calendar the bot uses?

Also what's required to get it running? Does it have any particular OS/database requirements?
https://calendar.google.com/calendar?cid=cDdsdDE5bWlndHBjdWdjdHRtNzJvNmNyMm9AZ3JvdXAuY2FsZW5kYXIuZ29vZ2xlLmNvbQ

We're using the mateus google calender here. I use the ical export, similar to that of the balmung calender. I plan to make it modular, so it can be used for any calendar.

That link doesn't appear to be working for me. Is it the same one as the tumblr? https://mateusrpcalendar.tumblr.com

I'd love to get it importing on the new RPC site as well. As for hosting, perhaps we can PM on here (or move to discord from there) on hosting requirements. As offered to Erah'sae, if we can get it running on RPC's servers, then we could help out with some of the hosting burden. (Depending on data storage/bandwidth needed).

Correct, same as the tumblr.

It works for discord bots fine, the thing is I need access to the back end(To make updates to it). It additionally needs to have node.js, the language I programmed in.

It's basically similar to any app on your phone. You turn it on and it's on. I run it in the background fine. The thing is it's only on when I'm online, as I'm the only one with the code.

OK, cool, I can at least make sure events are synced. I think we use a couple node.js things on the newer server for some wiki modules, so running shouldn't be too hard. The plan's to move RPC from a personal account into a more generic one that's easier to manage.

Backend access once that migration occurs is something we could probably do. Or we could act as as a production environment or something similar.


RE: Mateus Calendar RP Discord Bot - Neneso Neso - 01-09-2018

(01-09-2018, 09:34 PM)Unnamed Mercenary Wrote: OK, cool, I can at least make sure events are synced. I think we use a couple node.js things on the newer server for some wiki modules, so running shouldn't be too hard. The plan's to move RPC from a personal account into a more generic one that's easier to manage.

Backend access once that migration occurs is something we could probably do. Or we could act as as a production environment or something similar.
No problem. Once I have the list of features above all done, it will be as simple as exporting an ical, and putting it into the folder, then you'd just need to restart the bot every time you made an update.

This is still WAAAY down the line. But once that's done, this bot can basically function as any rp servers calendar bot so long as someone hosts it Big Grin


RE: Mateus Calendar RP Discord Bot - Neneso Neso - 01-09-2018

Changelog 10[sup]th[/sup] 1[sup]st[/sup] 2018
  • Added !day feature
  • Reduced slow event posting time down to a respectable timeframe.
  • Fixed bug that made !week post only to Tuesday



RE: Mateus Calendar RP Discord Bot - Neneso Neso - 01-11-2018

Known bugs:
Using !day and !week or any commands at the same time causes the program to get confused. Wait for the 'end of post' message before requesting another.

Changelog 12[sup]th[/sup] 1[sup]st[/sup] 2018
  • Added dates to all logs.



RE: Mateus Calendar RP Discord Bot - Erah'sae - 01-15-2018

Congratulations on getting this one up and running.  Let me know if you need any further help.   
Collaboration is a fun thing.


RE: Mateus Calendar RP Discord Bot - Neneso Neso - 01-15-2018

(01-15-2018, 11:37 AM)Erah Wrote: Congratulations on getting this one up and running.  Let me know if you need any further help.   
Collaboration is a fun thing.
Will do!