Dismiss Notice
Wynncraft, the Minecraft MMORPG. Play it now on your Minecraft client at (IP): play.wynncraft.com. No mods required! Click here for more info...

Tool Applebot (discord Bot For Guild Wars)

Discussion in 'Your Work' started by appleptr16, Aug 18, 2019.

Thread Status:
Not open for further replies.
  1. appleptr16

    appleptr16 Well-Known Adventurer CHAMPION

    Messages:
    63
    Likes Received:
    57
    Trophy Points:
    49
    Minecraft:
    Hmu on discord (appleptr16#5054 ) if you use this bot. I'd love to make it as easy to use and as useful to you as possible ^-^

    AppleBot:

    Author: appleptr16#5054
    AppleBot's discord: https://discord.gg/XEyUWu9
    Some commands are inspired by moto-bot
    Release version: 1.2 (This will get outdated fast)
    Testing status: Alpha (expect bugs)
    bot invite: https://bit.ly/31liFdF


    Features:
    AppleBot can,
    1. Send a chart of a list of up to 20 territories (without a message too long exception) and update the chart continuously
    2. Send a chart of territories that an owner of a list is missing and update the chart continuously
    3. Send a feed of territory exchanges that occur in a certain list
    4. Send a ping whenever a guild loses a threshold amount of territories from a list
    5. Create lists from scratch or current guild ownership of territories
    6. Add or remove territories from a list
    7. Create a list of all territories with no owner and send a message of all territories not owned
    8. Add or remove territories from this list
    9. Add or remove guilds as owners of the extensive list

    What AppleBot does:
    AppleBot,
    1. Reads the Wynncraft territory list API about every 30 seconds.
    2. Goes through each client's request for feeds/updates and updates original messages and/or sends new messages to update feeds
    3. Goes through any new messages to see if they are commands and if so, deals with each command and executes the respective command
    4. Occasionally restarts prompted by myself. The !end command sent by me deletes all updateable messages and is restarted by myself and resends messages and continues with tasks (Sometimes if the bug is super serious, I can't !end it and you will end up with obsolete messages.)

    Commands:
    • !help - Shows a list of commands
    • !info - Shows basic information on AppleBot
    • !instructions - Gives some instructions for how to use the bot

    • !list create <list name> <rightful owner> - Creates an empty list
    • !list copyterritories <list name> <guild name> - Creates a list and adds all territories owned by a guild to the list
    • !list (add/remove) <list name> <territory name> - Adds/removes a single specific territory to/from a list

    • !start chart <list name> - Creates an updating table that shows territories on a list and what guild owns them
    • !start missing <list name> - Creates an updating table that shows territories that are not owned by the guild that owns the list
    • !start territories <list name> - Creates a continuous feed of war activity in territories on a list
    • !start alert <list name> <\ @role name> <threshold #> - Pings a specific role when a territory from a list has been taken from the guild that owns said list
    • threshold # is the number of territories you're allowed to lose before being pinged
    • !start full_missing - starts your full_missing chart in the message's channel

    • !full_missing guilds (add/remove) <guild_name> - add or remove guilds to the full_missing chart
    • !full_missing territories (add/remove) <territory_name> - add or remove territories to the full_missing chart

    • !remove (chart/missing/territories/alert) <list name> - removes the feed from the list name (use this instead of deleting the message)

    How to use AppleBot:
    Each individual has their own set of lists
    1. Create a list with the !list command
      • Make an empty list
        • create <list name> <rightful owner>
        • !list (add/remove) <list name> <territory name>
      • Make a list from existing ownership of an
        • !list copyterritories <list name> <guild
        • !list (add/remove) <list name> <territory name>
    2. Start a feature with the !start command
      • Make a single message chart that will update as time goes on
        • !start chart <list name>
        • !start missing <list name>
      • Make a territory exchanges feed for the list
        • !start territories <list name>
      • Make a mention whenever the list loses a defined number of territories
        • !start alert <list name> \@<role name> <threshold (number)>
      • Make an alliance chart
        • !start full_missing
      • add or remove territories from the list of all territories
        • !full_missing territories (add/remove) <territory name>
      • add or remove guilds from guilds who count as owners of the territories
        • !full_missing guilds (add/remove) <guild name>
    3. Remove a feed (removing the message doesn't work)
      • !remove (chart/missing/territories/alert/full_missing) <list name>

    Pictures of AppleBot:


    Report any bugs in AppleBot's discord
    Feel free to suggest other projects or new AppleBot features in AppleBot's discord or just dm me on discord: appleptr16#5054
    (I dun bite >.<)

    About me:

    This was my first programming project, that someone uses besides me.
    I wrote AppleBot in python 3.7.
    (idk what else to put here..)
     
    Last edited: Sep 1, 2019
  2. Newracket

    Newracket Well-Known Adventurer HERO

    Messages:
    147
    Likes Received:
    72
    Trophy Points:
    55
    Minecraft:
    Great bot. Super useful.
     
  3. XeraAndromeda

    XeraAndromeda Empress of Nemract, Queen of Aphelion CHAMPION

    Messages:
    426
    Likes Received:
    449
    Trophy Points:
    85
    Guild:
    Minecraft:
    It might or might not be used on ILQ discord
     
  4. greeny1119

    greeny1119 Emorians ex-Chief HERO

    Messages:
    19
    Likes Received:
    30
    Trophy Points:
    48
    Guild:
    Minecraft:
    best bot (change my mind)
     
    DerpyEmerald24 likes this.
  5. Cloud Man

    Cloud Man Bruh HERO

    Messages:
    1,008
    Likes Received:
    932
    Trophy Points:
    130
    Minecraft:
    The concept of this bot is good, though it seems redundant. There are already other bots that do this, some even to a better extent.
     
  6. Newracket

    Newracket Well-Known Adventurer HERO

    Messages:
    147
    Likes Received:
    72
    Trophy Points:
    55
    Minecraft:
    Other bots like?
     
  7. appleptr16

    appleptr16 Well-Known Adventurer CHAMPION

    Messages:
    63
    Likes Received:
    57
    Trophy Points:
    49
    Minecraft:
  8. appleptr16

    appleptr16 Well-Known Adventurer CHAMPION

    Messages:
    63
    Likes Received:
    57
    Trophy Points:
    49
    Minecraft:
    AppleBot can now give inactivity reports for guilds
    ________________________________
    Also, someone added AppleBot to their server without telling me xd I hope it's working for them >.<
    Edit: no more inactivity report in applebot. only in cloverBot
     
    Last edited: Sep 6, 2019
  9. VeeeKoooN

    VeeeKoooN Demon Forge Master of WFa - http://cpc.cx/r1b HERO

    Messages:
    216
    Likes Received:
    134
    Trophy Points:
    67
    Guild:
    Minecraft:
    That was me :D Awesome bot btw, is it okay that it went offline ?
     
  10. appleptr16

    appleptr16 Well-Known Adventurer CHAMPION

    Messages:
    63
    Likes Received:
    57
    Trophy Points:
    49
    Minecraft:
    Btw, no it wasn't okay that it went offline >.<. should be good now, but you know.. alpha and stuff xd also, ty sm ^-^ it was a lot of work for me to make xd
     
  11. appleptr16

    appleptr16 Well-Known Adventurer CHAMPION

    Messages:
    63
    Likes Received:
    57
    Trophy Points:
    49
    Minecraft:
Thread Status:
Not open for further replies.