View difference between Paste ID: 9w4Fp110 and fMyd0HS4
SHOW: | | - or go back to the newest paste.
1-
Use >>>fetch_help to get links to commands.
1+
Use >>>fetch_docs to get links to commands.
2
If you require a boolean for a parameter, you can pass in True or 1, and False or 0 as python sees all four options as booleans.
3
prefix = >>>
4-
>>>clear/clean/delete/purge (int)
4+
5-
Clear an (int) amount of messages.
5+
>>>custom_embed <.json file>
6
Creates a highly customizable embed with json data provided in format (values that are not provided are None, some values are mandatory) 
7-
>>>ping
7+
{"title":str, "description":str, "author":str, "footer":str, "author_icon":str, "footer_icon":str, "color":list, "fields":list[list[str, str]]}
8
9
>>>vckick/vc_kick/voice_kick <member>
10-
>>>mute (member) (reason)
10+
Disconnects <member> from the current vc.
11-
Mute a (member) because (reason).
11+
12
>>>vcmute/vc_mute/voice_mute <member>
13-
>>>unmute (member)
13+
Mutes <member> in all vc's.
14-
Unmute a (member).
14+
15
>>>vcunmute/vc_unmute/voice_unmute <member>
16-
>>>role_mute (role) (reason)
16+
Allows <member> to speak in all vc's.
17-
Mute a (role) because (reason).
17+
18
>>>giveaway/g [winners] [role_to_mention] [hours] [minutes]
19-
>>>role_unmute (role)
19+
Starts a giveaway with [winners] winners, mentions [role_to_mention]. Giveaway goes on for [hours] hours and [minutes] minutes.
20-
Unmute a (role).
20+
21
>>>reroll [id]
22-
>>>ban (member) (reason)
22+
React to a giveaway message or pass a message id to reroll the winners.
23-
Bans (user) because (reason).
23+
24
>>>repeat/repeater/start_repeater [years=0] [months=0] [days=1] [hours=0] [minutes=0] [seconds=0]
25-
>>>kick (member) (reason)
25+
Starts a repeater for time specified.
26-
Kick (user) because (reason).
26+
27
>>>repeaters/check_repeater/check_repeaters
28-
>>>unban (user)
28+
DMs a list of repeaters the current user has.
29-
Unbans (user).
29+
30
>>>clear_repeater/del_repeater/delete_repeater/remove_repeater/close_repeater
31-
>>>role_file_unmute (role)
31+
Adds a repeater to the deletion queue.
32-
Lets (role) from sending files.
32+
33
>>>temp_ban <member> [years] [months] [days] [hours] [reason]
34-
>>>role_file_mute (role) (reason)
34+
Bans <member> for time specified.
35-
Stops (role) from sending files because (reason).
35+
36
>>>alarm/set_alarm/new_alarm [name]
37-
>>>channel_purge/channel_clear/channel_clean
37+
Creates a new alarm by name [name].
38-
Clears the entire current channel (WARNING: This CAN crash the bot if there are too many messages, or too much latency between 429's.)
38+
39
>>>del_alarm/delete_alarm/remove_alarm/clear_alarm
40-
>>>warn/alert/notify/inform (member_id) (reason)
40+
Deletes an alarm.
41-
Warns the (member_id) because of (reason). Warn logs can be found on HRLO77's device.
41+
42
>>alarms/view_alarms/check_alarms
43-
>>>fetch_member_history (member_id) (channel_id) (limit)
43+
Shows all the alarms for the current user.
44-
Find message history for (member_id) in (channel_id), checks (limit) messages before current message. Limit = 10 by default.
44+
45
>>help <command_or_cog>
46-
>>>hush/silence/mute_channel/silence_channel
46+
Returns usage on <command_or_cog>.
47-
Stops all members that do not have administrator from texting in the current channel.
47+
48
>>>remind/start_reminder/reminder [years] [months] [days] [hours] [minutes] [seconds]
49-
>>>un_hush/un_silence/unmute_channel/un_silence_channel
49+
Starts a reminder for time passed.
50-
Lets all members text in the current channel.
50+
51
>>>remove_reminder/clear_reminder/del_reminder/delete_reminder
52-
>>>spam_check/spam/spam_filter (int)
52+
Adds your current reminder for deletion in a queue.
53-
Sets spam check value to (int). 0 = no spam check, 1 = low, 2 = normal, 3 = high, 4 = extreme. Default = 0.
53+
54
>>>format/format_dt/format_date/format_time [year] [month] [day] [hour] [second]
55-
>>>content_filter/content/swear_check/profanity_filter/profanity_check
55+
Returns a timestamp formatted to discord default timestamp format mode.
56-
Sets profanity check value to (int). 0 = no content check, 1 = low, 2 = normal, 3 = high, 4 = extreme. Default = 0.
56+
57
>>>clear/clean/delete/purge [int] [bulk]
58
Clear an [int] amount of messages. Bulk is defaulted to False, if set to True, deletes [int] messages using bulk deletion if [int] is less than or equal to 100 and the messages are younger than 14 days. (Bulk is recommended if you are deleting a large amount of messages)
59
60
>>>viewing_role/ticket_role/view_ticket <role>
61-
>>>delete_channel/remove_channel/end_channel (channel_id)
61+
Allows <role> to view opened tickets in the current guild.
62-
Delete (channel_id) from the guild.
62+
63
>>>nick/nickname <member> [new_nick]
64-
>>>delete_channels/remove_channels/end_channels (list of channel_ids)
64+
Changes <member>'s nickname to [new_nick]
65-
Require the list to be a python tuple without brackets. Delete all the channels in the list from the guild.
65+
66
>>>reset_cooldown <command>
67-
>>>fetch_channels/get_channels/pull_channels (link=bool)
67+
Resets the cooldown for command <command>.
68-
The link parameter is a boolean, True means it will send links to the all the channels in the guild, False means it will give the ids.
68+
69
>>>topic_add <topic>
70-
>>>fetch_roles/get_roles/pull_roles (ids=bool)
70+
Sends a topic approval request to the owner for <topic>.
71-
ids is a boolean, if True then it returns ids of all the roles in the guild, if False then it returns names of the roles.
71+
72
>>>topic
73-
All warn logs are also stored on HRLO77's device.
73+
Picks a random topic out of the topics added by users.
74
75
>>>ticket/open_ticket/start_ticket <reason>
76
Opens a ticket because <reason>.
77
78
>>close_ticket/cancel_ticket <channel>
79
Closes ticket <channel>.
80
81
>>>ping/call/request
82
Returns latency.
83
84
>>>char <text>
85
Returns the unicode version of <text>.
86
87
>>>close_bot/terminate_bot/kill_bot/cut_bot
88
Closes the bot's connection to the API.
89
90
>>>restart_bot
91
Reloads the bots cogs.
92
93
>>>e/eval/evaluate <python_code>
94
Evaluates output of <python_code>.
95
96
>>>ban/ban_member/ban_user <member_id> [reason]
97
Bans <member_id> because [reason].
98
99
>>>kick/kick_user/kick_member/remove/remove_member/remove_user <member_id> [reason]
100
Kicks <member_id> because [reason].
101
102
>>>unban <member_id> [reason]
103
Unbans <member_id> because [reason].
104
105
>>>channel_purge/channel_clear/channel_clean [reason]
106
Clones the channel and deletes all the messages, [reason] appears on the audit log.
107
108
>>>channel_delete/channel_remove/channel_del [channel_id]
109
Deletes the current channel the message was sent, or [channel_id] if passed.
110
111
>>>warn/alert/notify/inform <member_id> [reason]
112
Warns the <member_id> because of [reason].
113
114
>>>fetch_member_history <member_id> [limit] [links]
115
The [links] must be a boolean, if True then it returns links to messages, otherwise it returns ids. Find message history for <member_id> in the current channel, checks [limit] messages before current message and returns links to messages. Limit = 10 by default.
116
117
>>>fetch_messages [limit] [links]
118
The [links] must be a boolean, if True then it returns links to messages, otherwise it returns ids. Find all [limit] previous messages in the current channel and returns links to messages. Limit = 10 by default.
119
120
>>>hush/silence/mute_channel/silence_channel [minutes_to_mute] [reason]
121
Stops all members that are not moderators from texting in the current channel for [minutes_to_mute] minutes because [reason].
122
123
>>>un_hush/un_silence/unmute_channel/un_silence_channel/unhush [reason]
124
Lets all members text in the current channel because [reason].
125
126
>>>spam_check/spam/spam_filter <int>
127
Sets spam check value to <int>. 0 = no spam check, 1 = low, 2 = normal, 3 = high, 4 = extreme. Default = 1.
128
129
>>>fetch_code/get_code/pull_code
130
Get the source code for the bot, on HRLO77's github.
131
132
>>>delete_channels/remove_channels/end_channels <list of channel_ids>
133
Requires the list to be a python tuple without brackets. Delete all the channels in the list from the guild.
134
135
>>>fetch_channels/get_channels/pull_channels [links=bool]
136
The (links) must be a boolean, True means it will return links to the all the channels in the guild, False means it will give the ids.
137
138
>>>kick_members/remove_users/kick_users/remove_members (list of member_ids)
139
Requires the list to be a python tuple without brackets or spaces. Kick all members from the list out of the guild.
140
141
>>>ban_members/ban_users/ban_people (list of member_ids)
142
Requires the list to be a python tuple without brackets or spaces. Bans all members from the list out of the guild.
143
144
>>>unban_members/unban_users/unban_people (list of member_ids)
145
Requires the list to be a python tuple without brackets or spaces. Unbans all members from the list and the guild.
146
147
>>>fetch_message (message_id)
148
Returns link to (message_id) in the current channel.
149
150
>>>members/member_count/member#
151
Returns the number of members in the guild.
152
153
>>>channel_members/channel_member_count/channel_member#
154
Returns the number of members in the channel.
155
156
>>>bm/book/mark/bookmark [message_id]
157
DM's you the [message_id] link you bookmarked so you can go back to it anytime! You can also reply to a message without giving an ID, and it will bookmark the message you replied to!
158
159
>>>info/info_on/member/fetch_member/get_member/pull_member <member_id>
160
Finds information on <member_id> member in the current guild.
161
162
>>>delete_messages/clear_messages/purge_messages/clean_messages (list of message_ids)
163
Requires the list to be a python tuple without brackets or spaces. Deletes all the (message_ids) messages in the current channel.
164
165
>>>fetch_warns/get_warns/pull_warns
166
Sends a .txt file with all of the warnings that bot logged while online.
167
168
>>>mute <member_id> [days] [hours] [minutes] [reason=None]
169
Timeouts <member_id> for time specified because of reason: [reason].
170
171
>>>unmute <member_id> [reason=None]
172
 Removes <member_id> from timeout because of reason: [reason]
173
174
>>>print_out <message>
175
Sends <message> as the bot.
176
177
>>>set_react/update_react/add_react (message_id) (role_id) (emoji)
178
When a member reacts to (message_id) with (emoji), (role_id) is given to the member. (As the dict is stored in the cache.)
179
NOTE: Command only accepts messages sent in the current channel.
180
181
>>>rm_react/delete_react/remove_react/del_react (message_id)
182
Removes (message_id) for reactions events.
183
NOTE: Command only accepts messages sent in the current channel.
184
185
>>>react_obj/react_object/react_dict/react_dictionary [message_id]
186
Returns the dictionary of reaction keys/values for the raw reaction events. If [message_id] is passed it shows the reaction data for that message.
187
NOTE: Command only accepts messages sent in the current channel.
188
189
>>>print_embed (title) (text)
190
Sends embed with (title) and (text) in the channel the command was called in.
191
FOR MODERATORS: If you set the title of the embed as 'rules:' and the embed is sent a channel called 'rules', the embed's content is stored as the rules.txt file. So after you sent the embed, the `>>>rules` and `>>>rule` commands update to suit the new rules.
192
193
194
>>>create_text_channel (name) (reason)
195
Create new text channel (name) because (reason).
196
197
>>>create_vc (name) (reason)
198
Create new voice channel (name) because (reason).
199
200
>>>create_role (name) (reason)
201
Creates new role (name) because (reason).
202
203
>>>del_role/rm_role/delete_role/remove_role (role_id) (reason)
204
Deletes (role_id) from guild because (reason).
205
206
>>>purge_ban/purgeban <member_id> [limit] [bulk]
207
Limit is defaulted to 10. Bulk deleting is defaulted to False. Deletes the last [limit] messages from <member_id> in the current channel.
208
Bulk delete is a light, quick version of deleting that can delete up to 100 messages that are younger than 14 days. (Bulk is recommended if you are deleting a large amount of messages)
209
210
>>>push_role/add_role/append_role (role_id) (list of member_ids='all')
211
Requires the (list of member_ids) to be a python tuple without brackets or spaces. If you want to add (role_id) to all the members in the guild enter 'all' for the list. Adds (role_id) to (list of member_ids).
212
213
>>>rules
214
Returns and embed of the rules as they were sent in the 'rules' channel in a embed called 'rules:'.
215
216
>>>rule <int>
217
Returns the rule <int> that was sent in the 'rules:' embed in the 'rules' channel.
218
219
>>>server_lock/lock/lockdown/server_lockdown/server_hush <minutes_to_mute> [reason]
220
Hushes all channels in the server for <minutes_to_mute> minutes for [reason] reason.
221
222
>>>server_unlock/unlock/server_unhush/server_un_hush [reason]
223
Unhushes all channels in the server for[reason] reason.
224
225
>>>rule_add/rule_append <rule>
226
Adds <rule> to rules.txt on the hosting device.
227
Returns the new rules.
228
229
>>>rule_rm/rule_remove/rule_delete/rule_del <rule_index>
230
Removes rule number <rule_index> from rules.txt on the hosting device.
231
Returns the new rules.
232
233
>>>rule_replace/rule_change <rule_index> <rule>
234
Replaces rule number <rule_index> with <rule> in the rules.txt on the hosting device.
235
Returns the new rules.
236
237
>>unwarn <member_id> [count]
238
Removes [count] warns from <member_id> member in the current guild.
239
240
>>>snipe [channel]
241
Finds and DM's the last deleted message from the current guild. If [channel] is passed it finds the last deleted message in [channel].
242
243
>>>user/user_data/info_on_user/user_info/fetch_user/get_user/pull_user <User_id>
244
Pulls information on <User_id> user.
245
246
>>>hide [minutes] [reason]
247
Hides the current channel for [minutes] because [reason].
248
249
>>>unhide/un_hide [reason]
250
Unhides the current channel because [reason]
251
252
>>>server_hide [minutes] [reason]
253
Hides all channels in the server for [minutes] minutes because [reason].
254
255
>>>server_unhide [reason]
256
Makes all channels visible in the server because [reason].
257
258
>>>sever_info/guild_info/serverinfo/guildinfo
259
Returns and embed with current guild statistics.
260
261
The bot also logs all the messages on the console along with more data.
262
263
264
Fill in the dictionary in the first few lines after imports if you want to create a default role syntax for your guild.
265
266
You can also comment out all os.system() commands to start running your bot faster, and comment out everything else that you don't require.
267
268
The code now automatically installs and updates the API wrappers and extra modules. NOTE: The commands for installing these modules works only Windows systems, not linux or macOS.
269
270
NOTE: It is also recommended to review the code and read the README.md file on my discord moderation bot's source-code on github - https://github.com/HRLO77/Bot-source-code
271
272