Boundless Bot - Hunts and more!

Sounds good to me, thank you!

@NickkThatsGood sry was too busy and Haven t read our Channel will Take the time in 30 Minutes

Ok I think I fixed the bug with the permissions that was crashing out the bot. Iā€™ve updated the bot and hope now when someone runs a command on the server they will be private messaged if the permissions are not set right.

Please check the bot after you add it to make sure it can post a message. This way if someone posts a hunt on another server it wonā€™t act weird when it gets to your channel.

Note: If you run a command and you donā€™t get a response or notice the bot goes offline then that almost certainly means your permissions are not set up correctly. Ping me so we can work through it so the bot doesnā€™t keep crashing. I donā€™t doubt that the code might still not be perfect in handling perms.

Basically there are two areas where you can set permissions that can conflict.

  1. server role that you set under the server settings area.
  2. channel or category permission setting that you set in those settings area where you check a red x or leave in the center or check the green mark.

The bot only needs the server role technically, but if you have set some channel/category permissions that ā€œdeny sendā€ (like for everyone or another role the bot is part of) the server role will be overridden. Channel perms trump server roles.

That was messing with the bot and causing it to fail. I now check both things and alert you. I did some tests and the logic seems good. But, I never can tell what you all might have set up permissions wise on your server. So if youā€™ve been trying to run a command like .ping in the channel the bot uses and it seemed to crash, try it now and see if it works.

Iā€™m not around Saturday but hopefully this weekend I get the role ping notifications done and anything else that might be directly crashing the bot (which I havenā€™t seen anything else beyond the perms issue).

2 Likes

Updateā€¦

I have put some additional permission checking in. If everything is right you should get warnings if you are trying to run a command and the bot doesnā€™t have correct permissions for the channel it would need to respond in. Much later on I want to redo the registration process so it isnā€™t as confusing and much easier to deal with this for new people. Thanks for the patience as we worked through this bug.

Iā€™ve also set up a routine to double check send permissions for the hunt channel that was registered when a .posthunt is done. It should basically skip the channel if it doesnā€™t have send permissions but still go to all the other ones. Right now all channels registered seem fine maybe a hiccup with one who I pinged the owner (Hazard).

I also found out there is some text limitations on the Embeded messages we are sending. I have reformatted the hunt post so it has more space for the text you all put in. Currently the limit is 4096 characters. Additionally, I have taken the standard help/tips/notes that everyone does in their hunt messages and added it as text so you all have less to post.

Here is what comes as standard on the posts so you can adjust your main messages and donā€™t have to include this stuff:

Helpful Notes
Everyone is usually welcome to join but please be on time. Make sure to track the hunt leader so you know where everyone is going.

Loot Tip
Remember your campfires and chests. Place a campfire and then put a chest in the plot it created so you can empty your inventory. Campfires automatically reclaim after 2 hours and you can get the contents from your chests at one of your other master beacons once you select the reclaim you want.

Healing Tip
If you bring reviver brews and healing bombs it helps keep you alive. Most hunts do have healers in the group, but the more people helping with this makes it easier for everyone. If you do die try not to return to the sanctum since usually someone will revive you when it is safe to do so.

Portal Expectations
So people stay together usually those running hunts expect no portals other than the ones the hunt leader or their helpers open. If you need to leave please try to exit the hunt by using the ā€˜return to sanctumā€™ option.

Hunt Player Etiquette
No damage bombs except to clear any trees. No griefing in any way and please be respectful to other hunters. Weā€™re all here for the same thingā€¦ May the Oort be plenty!

Questions
If you have any questions for this hunt click the following name and fill in the message box since they are the person that scheduled the hunt :

%%
If there are any changes or things you want added let me know. Iā€™m going to work on role pings tomorrow.

7 Likes

Update 4/17/2022.

Iā€™ve put in a basic Role Ping feature. I wanted to do it in the posthunt embed but unfortunately Discord wonā€™t let roles be pinged from there from what I can tell and what my testing showed. So it is currently added as an addition alert for those servers that have the role set. If someone knows otherwise please let me know.

Setup:

  1. Make sure the role you wish to be pinged has the option to allow it to do the notification.
  2. Have someone test the role by doing a mention in a channel to see that you get an alert.
  3. Make sure the role you have assigned to the bot isnā€™t being denied the ability to do mention notifications.
  4. From the main bot channel that you want the bot to post the hunt messages type: .getroles
  5. You will receive a private message from the bot with all the roles your server has. Find the one that you want to get the mention ping notification. Copy the ID.
  6. From that main bot channel type the following command (replace the ID with the copied ID number) : .setrole ID
  7. The bot will let you know if the setrole was successful.

Note: In the future I do want to work on the whole registration and role process and make it more elegant.

1 Like

That would be slash commands. Discord is trying to discourage apps from reading chat history and the old-style commands require doing this. In fact, there is a verification process to allow you to keep doing this if you bot gets added on enough servers.

Yeah I plan on going that route with sub-commands in the long run. Iā€™m already working on a rewrite to better handle permissions and the configuration process. I expect a command change then.

1 Like

Hi guys, will post here as itā€™s related to the hunt bot and I think itā€™s useful and I consider it an improvement :slight_smile:

For the hunt messages on the timer, instead of having mentioned time-zones and than you would need to convert that to your time and so on, on discord we can use a tag with a timestamp that updates dynamically.

Hereā€™s what Iā€™m referring too and how it looks:

In order to use this, you would just have to add a tag that looks like this: <t:1651611609:R> instead of the specific time
That string of numbers would represent a UNIX timestamp that would be translated on each personā€™s computer into a date time compatible with his own timezone and computer time.

Now in order to construct such a timestamp there are multiple tools, I for one use this one: https://hammertime.cyou

But you can search on google with ā€œcreate discord timestampā€ and you will find other web pages that convert this.

I tested on the bot that @Xaldafax made and seems to work ok.

PS: the tag works on any conversation on discord, is not something specific for bots.

6 Likes

Update 5/28/2020.

Iā€™m about 75% through the process of moving the bot over to using slash commands. This will make sure there are no issues with the discord integration since they are trying to push bots to use them. Even though this one is small and should be able to keep the old command prefix I want to make sure we stay with what Discord prefers.

This version will include some additional features.

  1. Server registration will be automatic when the bot is added and a more streamlined setup process.
  2. There will be a variety of settings you can set, update, or disable like hunt channel, role, etc.
  3. If you are someone that posts hunts, there will be more things you can set/update in your message to make it easier to post.
  4. Iā€™m looking into adding a ā€˜scheduled timeā€™ type field that would allow use to create a calendar type feature so people have better understanding on what hunts are coming and if there is a regular schedule around them.
  5. Additional permissions will be needed because Iā€™m adding some features like creating invites, allowing people to add/remove themselves from the hunt role, etc. The bot will let you know if your perms arenā€™t right.

At this point Iā€™m not sure when this all is being released but Iā€™m hoping to have it done in next month at most. It just matters if I want to release all these features or do it in various updates. Not to mention how busy real life is.

5 Likes

Just a general feedback point:

In the ā€œQuestionsā€ portion, the bot assumes the person who created the hunt is in the server the bot is currently in. If not, thereā€™s no way to actually contact the person, as the name is turned into <@idhere>. Possibly a suggestion to switch that to username#1234?

I was trying to get a mention possibility in that line but good point because not everyone is in every server so they are definitely going to see that number. Thanks, Iā€™ll add that to my notes to fix.

Just added the bot to KREE.
Will let you know how it goes :slight_smile: Thanks for building this mate.

2 Likes

The bot will be offline until around 3 pm PST 8/26/2022 due to a scheduled power outage in my area. Sorry ā€¦ be back soonā€¦ Stay Boundless until then and watch out for those roving Spitter gangs.

We went 34 days online straight with some good usage. But, I have slowed some of the upgrades because it appears some just donā€™t use it and I donā€™t know how many people still want newer features or the slash commands. Iā€™ll continue to work on things as time provides but if I knew that the demand was there Iā€™d add more thingsā€¦

I do hope it has been helpful, though, for those that do use it.

5 Likes

Bot back onlineā€¦ Thanks for your patience.

5 Likes

I still have some permissions issues for channels that either remove the bot or change permsā€¦ unfortunately I have to pull them because I canā€™t find a way to easily deal with it. Please confirm settings before posting if you are new to using the botā€¦

Here are the accounts I pulled so far. If you still want notifications please work with me to solve the perms issue.

{
ā€œguild_idā€: ā€œ997765562010701854ā€,
ā€œhunt_channelā€: ā€œ998129705200926820ā€
},
{
ā€œguild_idā€: ā€œ481226483755515915ā€,
ā€œhunt_channelā€: ā€œ481226483755515918ā€
},
{
ā€œguild_idā€: ā€œ362660135899758611ā€,
ā€œhunt_channelā€: ā€œ362660135899758614ā€
},

I will have to try to find a better way to stop thisā€¦ it hasnā€™t been easy and still seem to have issues so if people have ideas that know discord bots please reach out.

Which guild are these?

The ones that failed recently and caused the bot to crash. I donā€™t keep guild name right now so Iā€™m not sure. I assume most just decided to remove the bot and since I didnā€™t have an elegant way to clear their ID from the file it would fail because it tried to message that channel and had no access. I know I need to fix that but sometimes these are people that add and just donā€™t have perms right so it fails. I figured I would just list it so people can check to see if they noticed the bot wasnā€™t working for themā€¦

Otherwise if you have been getting alerts or did posts and had no problems and then havenā€™t changed your permissions then things should be fineā€¦ we have like 30 guilds in the list and all are ok minus these 3 I pulled lately.

2 Likes

OK Ty for info all good Here for me to Post hunts useing the Tool.

Ty :+1::+1::+1:

I wanted to give an update on where I stand with the new version of the bot (completely rewritten from the ground up) that will be moving to ā€œslashā€ commands. These are commands that start with a ā€œ/ā€ and is the newer way that Discord is pushing bots toward. Iā€™ve also added a backend database that will help a lot in growing features.

Iā€™m basically done with all coding and am working on making sure the migration process is as limited as possible for anyone that uses the bot. So far it is looking like it will be very easy for everyone if not even hands off. I had wanted to have everything done over this past Thanksgiving break but wasnā€™t able to complete all the testing. I also want to redo the original post in this thread with the new instructions on how to set up the bot for any new users and discuss migration/new commands, etc.

I plan to have everything flipped over before Christmas (this weekend or next) and also provide a small window where the old ā€œ.posthuntā€ command will still work along with the new way hunts will be posted. There are a few other features I wanted to add but decided to release the new bot now and I can add those additional commands pretty easily in January or something after I code them.

Lastly, for me to do the update, I will need to take the bot offline for a few hours while I switch everything over and test it out and import the existing discord servers so no one will need to reregister. Iā€™ll give a heads up when that is happening here.

Thank you to everyone that continues to use and support the bot. I really hope people are finding it helpfulā€¦

4 Likes

:warning: BOT MIGRATION STARTED :warning:

Please be aware Iā€™ve started the process to migrate OortAdonai (Boundless Hunting Bot) over to the new version. Please do not use the bot until I send a message that it the migration is done. It should be done soon.

1 Like