baabaablackgoat / SolsticeBot

A (pretty damn useless) bot, designed with Discord.js. THIS CODE IS UNCLEAAAAN!
1 stars 1 forks source link

Commands using mentions should use getIDfromMention #33

Closed baabaablackgoat closed 7 years ago

baabaablackgoat commented 7 years ago

getIDfromMention returns an array of all user id's that were mentioned. Code should be put in a for loop looping over said array.

This affects:

baabaablackgoat commented 7 years ago

c3cfdae adds support for botban.

baabaablackgoat commented 7 years ago

28eee47 adds support for userinfo - sort of. It doesn't use the module. Reason 1: preventing spam by chaining mentions. Reason 2: if I'd use that, i'd have to use the ID to find the user in the guild.