Skip to content

Instantly share code, notes, and snippets.

@4Kaylum
Last active September 3, 2021 08:06
Show Gist options
  • Save 4Kaylum/738f6bc851f146a98b83fc29b6614a0d to your computer and use it in GitHub Desktop.
Save 4Kaylum/738f6bc851f146a98b83fc29b6614a0d to your computer and use it in GitHub Desktop.

Penance

Penance is a smallo Discord bot made with the intention of helping out your Ark: Survival Evolved server.

The prefix for the bot is configurable via the prefix command, but for all the command examples here, the default prefix (p.) will be shown. Any channels or roles that are mentioned are configurable in the bot via the p.setup command:

A screenshot of the bot's setup command

User Info

The most important feature that Penance has is that it stores user information.

Via the p.setinfo command, users will be asked: their ingame name, their gamertag, their tribe name, their implant number, their starting map, where they found the server, and any other information. This information will optionally be sent to a channel for approval by a moderator (to make sure they don't input junk), but if you don't set one then any information given will be automatically marked as "approved".

After being approved, any set profiles can be sent to an "archive" channel, where all user information will be stored. Along with this, users and moderators can then pull up information on any user using the p.getinfo @User command.

A screenshot of user info set within the bot

You can also set up Penance so that users receive a role when they complete a profile. Because of this you can set up your Discord server so that users are required to create a profile before gaining access to the rest of your server, eg setting your channels so the @everyone role can't read messages, but people with the "completed profile" role can.

Payment Processing

How do you handle payment tracking right now? Is it notes on a user account? A big-ol Excel document? With Penance's p.access command and its website, you can do this all automatically. If you set up payment processing through Penance, it can automatically track who's paid for access to your server (this feature is only available to users with PayPal business accounts).

If you create a PayPal button and give that to the bot, Penance will be happy to handle processing that for you. Run p.paypal to set this up.

Anyone who pays via the website after you've set up your IPN settings will be added to the p.access list automatically.

A screenshot of the website's PayPal buttons

Server Access Tracking

You may have trouble keeping track of who's paying for access to some of your servers. Penance can take care of that. Using the p.access command, you're able to store a list of users who have access to your server. By running p.access add @User december 2025, the pinged user will be present in the p.access info command until the end of December 2025.

A screenshot of the access info command

@PervyZombie
Copy link

Same does anyone know where I can find this

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment