You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
assertsorted(text_channels[:5], key=sort_key) ==sorted(auto_channel.channels, key=sort_key), "Correct behavior would be for AutoCHANNEL to only find first 5 text channels"
68
-
assertsorted(voice_channels[:5], key=sort_key) ==sorted(auto_channel2.channels, key=sort_key), "Correct behavior would be for AutoCHANNEL to only find first 5 voice channels"
67
+
assertsorted(text_channels[:2], key=sort_key) ==sorted(auto_channel.channels, key=sort_key), "Correct behavior would be for AutoCHANNEL to only find first 5 text channels"
68
+
assertsorted(voice_channels[:1], key=sort_key) ==sorted(auto_channel2.channels, key=sort_key), "Correct behavior would be for AutoCHANNEL to only find first 5 voice channels"
69
69
70
-
awaitauto_channel.update(exclude_pattern=None)
71
-
awaitauto_channel2.update(exclude_pattern=None)
70
+
awaitauto_channel.update(include_pattern=daf.regex("testpy-[0-2]")) # Removes the original exclude pattern
71
+
awaitauto_channel2.update(include_pattern=daf.regex("testpy-[0-1]")) # Removes the original exclude pattern
72
72
auto_channel._get_channels()
73
73
auto_channel2._get_channels()
74
74
assertsorted(text_channels, key=sort_key) ==sorted(auto_channel.channels, key=sort_key), "Correct behavior would be for AutoCHANNEL to find all text channels"
0 commit comments