this post was submitted on 14 Jul 2023
13 points (100.0% liked)

Gunners

1509 readers
1 users here now

Victoria Concordia Crescit

We are a community for supporters of the North London-based football club Arsenal F.C.

Sister Community: https://lemmy.world/c/arsenalwfc

Join our FPL with League Code: tt2t8e

If old posts remain pinned on other instances, comment on the Daily Discussion with a screenshot!

Transfer Reliability Guide

founded 1 year ago
MODERATORS
13
TV Listing bot (lemmy.world)
submitted 1 year ago* (last edited 1 year ago) by [email protected] to c/[email protected]
 

I have put together a bot that will show which channels the arsenal games will be aired on. it will look something like this https://lemmy.world/post/1448889 - (this post is accurate as of today, its the channels for the next pre-season game against united)

I havent got it up and runnning at the moment because of some issues with my computer and i dont have time right now. i am going away in 9 hours and need to go to sleep! i will get it up and running in the next week or so. hopefully before the united game so i can see it running live. the bot seems to be working fine in testing, i just need to sort out my computer and then start the bot. unless someone knows of some sort of server somewhere, where i can run the bot from? for free? lol

it will run every 24 hours, check if there is a game on in the next 24 hours and post the channels to this community. the posts will come from @[email protected]

just thought id let you guys know! if theres an issue with this mods let me know

top 15 comments
sorted by: hot top controversial new old
[–] [email protected] 5 points 1 year ago (1 children)

Awesome job, this is a big deal because we are lacking good tools like this compared to the subreddit.

[–] [email protected] 1 points 1 year ago

Yeah I noticed we were asking for some bots to be made and I have been messing around with the API for a bit. Thought why not

[–] [email protected] 4 points 1 year ago (1 children)

This is amazing! Thanks for the first bot on c/gunners!

I don’t know a free server/hosting site off the top of my head and if I come across one I’ll let you know.

[–] [email protected] 2 points 1 year ago

Thank you :)

[–] [email protected] 2 points 1 year ago* (last edited 1 year ago) (1 children)

It seems like there will be a server/instance just for bots and it will be free and open. Maybe you could contact the OP.

[–] [email protected] 1 points 1 year ago (1 children)

Nice is it just lemmy.world? The bot is already signed up to lemmy world, the issue I have is actually hosting the bot somewhere. I need somewhere to have the script running 24/7. At the moment this will be my pc since it's already on but I can't guarantee any uptime reliability

[–] [email protected] 1 points 1 year ago

From what I understand, the server will be open for bots to run in it as in a hosting, but maybe I'm wrong. I will keep an eye on the post history of the creator and will tell you when there is new info.

[–] [email protected] 1 points 1 year ago (2 children)

I was gonna say Heroku but they apparently got rid of their free tier last year; I'm sure you could probably find one that works for you by searching for Heroku alternatives though! This looks wonderful, and thank you for setting this up! Now all we need is a match thread bot and a daily bot lol

[–] [email protected] 2 points 1 year ago* (last edited 1 year ago)

I'll probably just throw it on my pc, it runs 24/7 anyways

But if there's a hosting platform I can find, that'd be better because my pc likes to sometimes update lol

Match thread bot and daily discussion doesn't sound too difficult, but it'll have to be another time unless someone else does it

[–] [email protected] 1 points 1 year ago

I know Oracle sucks but they’re offering unlimited free compute on OCI: https://www.oracle.com/cloud/free/

Alternatively you could maybe package your bot as an AWS lambda function and schedule it with Cloudwatch events: https://docs.aws.amazon.com/AmazonCloudWatch/latest/events/RunLambdaSchedule.html

[–] [email protected] 1 points 1 year ago (1 children)

Is the bot supposed to be working? No post so far for the MLS game

[–] [email protected] 2 points 1 year ago

No, the bot isn't running. I have been out of the country for the last 5-6 days so not had chance

[–] [email protected] 1 points 1 year ago (1 children)

Looks nice!

Would be nice if you could output local times of match start as well.

[–] [email protected] 2 points 1 year ago

Will add that on! It's just the basics right now done in a few hours, just so we have something. It will be in a week or so, I am going away so can't work on it for a while

load more comments
view more: next ›