Customize

A full guide to customizing 2PG.

2PG can be customized, for your bot's needs. This guide goes in depth to show you how to customize your multipurpose Discord bot.

Bot on Discord

How do I add commands?

How do I change the default prefix?

By default, the 2PG prefix is '.'. This can be changed in the file below. Simply change the prefix = '.'; line.

2PG ping command

How do I customize the bot status?

In the file linked below, change the activity accordingly - await bot.user?.setActivity('Your custom status');

Example of 2PG's status