mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-15 00:12:38 +02:00
Add examples
This commit is contained in:
@@ -21,4 +21,8 @@ module.exports = class MonthArgument extends Argument {
|
||||
if (shorthand.includes(value.toLowerCase())) return shorthand.indexOf(value.toLowerCase()) + 1;
|
||||
return null;
|
||||
}
|
||||
|
||||
example() {
|
||||
return months[Math.floor(Math.random() * months.length)];
|
||||
}
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user