![]() ![]() * Changes the guild icons of any guilds the bot is a member of every N seconds IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. ![]() Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: Set IMGUR_ALBUM_URL to the URL of the album you want to fetch images from (without a trailing slash - e.g.Set IMGUR_API_CLIENT_ID to the Client ID of your Imgur Application.(This can be found on the 'Bot' page of your application.) Set DISCORD_API_CLIENT_TOKEN to your Discord Bot's token.Create an account on and Register an Application (The option 'Anonymous usage without user authorization' will work just fine and 'Authorization Callback URL' may be whatever you wish.).Create an application with a Discord Bot on the Discord developers page.Download this Gist as a ZIP archive and run npm install (or run npm init and manually install the dependencies below.).t.change: Allows a user to pre-emptively change the Guild icon to another random image from the image list.Thus, allowing the cached image list from the album to be updated without restarting the bot. t.update: Allows a user to indicate that an update to the Imgur album is available for the bot.The default permission to execute commands is the 'Administrator' permission, however this can be changed. The bot has a customizable command prefix, however the default is t. Changes the guild icons of any guilds the bot is a member of at a defined interval. ![]()
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |