aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--events/message.js2
-rw-r--r--events/ready.js27
2 files changed, 9 insertions, 20 deletions
diff --git a/events/message.js b/events/message.js
index 238d95e..447f9e4 100644
--- a/events/message.js
+++ b/events/message.js
@@ -28,7 +28,7 @@ module.exports = (bot, msg) => {
function parseCommand(bot, msg) {
let category;
- const prefix = 'p:';
+ const prefix = 'g:';
if (msg.author.bot) return;
if (!msg.content.startsWith(prefix)) return;
diff --git a/events/ready.js b/events/ready.js
index 9c30717..12e491e 100644
--- a/events/ready.js
+++ b/events/ready.js
@@ -9,23 +9,12 @@
module.exports = (bot) => {
console.log('PokeBot has finished loading.');
- bot.setInterval(function() {
- const games = [
- 'Pokemon',
- 'Catching things',
- 'Finding pokemon',
- 'Type p:help for help',
- 'Fighting AstralMod',
- 'Arrays start at 1',
- ];
-
- bot.user.setPresence({
- status: 'online',
- afk: false,
- game: {
- type: 0,
- name: games[Math.floor(Math.random() * games.length)],
- },
- });
- }, 200000);
+ bot.user.setPresence({
+ status: 'online',
+ afk: false,
+ game: {
+ type: 0,
+ name: 'v2.0 Alpha 1 - g:',
+ },
+ });
};