Jump to content

Search the Community

Showing results for tags 'discord'.



More search options

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • General Posting Place
    • News and Announcements
    • Newbie Palace and New Users Introductions
    • Shenanigans
  • Gameplay-Related Discussions
    • General Metagame Discussion
    • Core Skills & Mechanics Discussion
    • Vehicles & Crew
    • People, Platoons and Pwning
    • Upcoming Changes Discussion
  • Improvement and Study
    • Game Mods & Add-ons
    • Guides & Tutorials
    • Mentor Meet-up
    • Tape Study
    • Media
  • Buttalion Posturing
    • Battalion Recruitment
    • Battalion Rivalry & Diplomacy
  • Admin Office
    • ArmoredLabs Issues & Feedback
    • Member Sanctions

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


About Me

Found 1 result

  1. Caution: Due to update 0.35 the bot is currently not operational until further notice. Given we now got a rotation API by GoldenGnu to access rotation data online I thought it's time to code a simple discord bot which shows the current rotations in a discord text channel: Use the Bot on your Discord: You can invite the bot to your Discord Server by clicking the following link: https://discord.com/api/oauth2/authorize?client_id=802580434768756786&permissions=126016&scope=bot You can use the following commands in Discord to control the bot: $awr help shows the help page of this bot with all available commands $awr setup #channel creates a PVE rotation in the given channel $awr delete #channel deletes a PVE rotation in the given channel $awr version shows the version of the bot and other details please make sure the bot actually has access to the channels you want it to post the rotations/react to commands. Also to set it up you need to have the Manage_Roles permission in said server (Simply to prevent any user from spamming rotations around). Important: I should have managed to fix most apparent bugs, chances are though that you'll find more while using it. In this case please let me know here or create an issue on github (link below). Also the rotations are fetched from https://aw.nikr.net/ which is maintained by GoldenGnu. So we still do not have anything automatic and of course it won't be up to date everytime due to that. The timezone of the bot is CET. There's currently no way for the client to change this. It's a fairly simple bot right now in case you have ideas for new functions or improvements please let me know. Though we can't have it all as I'm limited by the fact that I can't run any client side code and by the functions Discord provides. Github/Host the bot yourself: You can find the Github repository here: https://github.com/TeyKey1/AWrotationDiscordBot The Bot was built in node JS with the Discord JS library. My code is MIT licensed so feel free to reuse it for your own projects or needs. Of course you can also host the bot yourself if you want. All you need is node and a server. In this case it's also advisable to use your own instance of the online PVE rotation Tracker by GoldenGnu to serve the rotation data. In general though you can also just run the bot standalone, as long as you serve a rotation.json file online for the Bot to access. You can configure the bot with the files given in the config folder. Changelog: Known Issues:
×
×
  • Create New...